Ghost/ghost/admin/app/components/gh-billing-modal.js

15 lines
415 B
JavaScript
Raw Normal View History

import Component from '@ember/component';
import classic from 'ember-classic-decorator';
import {computed} from '@ember/object';
import {inject as service} from '@ember/service';
@classic
export default class GhBillingModal extends Component {
@service billing;
@computed('billingWindowOpen')
get visibilityClass() {
return this.billingWindowOpen ? 'gh-billing' : 'gh-billing closed';
}
}