mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
f07940f0e7
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
15 lines
415 B
JavaScript
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';
|
|
}
|
|
}
|