mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 11:22:19 +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';
|
|
}
|
|
}
|