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

12 lines
344 B
JavaScript
Raw Normal View History

import Component from '@ember/component';
import {computed} from '@ember/object';
import {inject as service} from '@ember/service';
export default Component.extend({
billing: service(),
visibilityClass: computed('billingWindowOpen', function () {
return this.billingWindowOpen ? 'gh-billing' : 'gh-billing closed';
})
});