Ghost/ghost/admin/app/components/gh-billing-modal.js
Kevin Ansfield f07940f0e7 Collapsed @service injection definitions to single-line style
no issue

- find+replace to make service injection style consistent and take up much less space at the top of files that used multi-line syntax
2022-02-01 17:03:54 +00:00

15 lines
415 B
JavaScript

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';
}
}