2020-05-22 05:44:37 +03:00
|
|
|
import Component from '@ember/component';
|
2022-02-01 12:34:03 +03:00
|
|
|
import classic from 'ember-classic-decorator';
|
2020-05-22 05:44:37 +03:00
|
|
|
import {computed} from '@ember/object';
|
|
|
|
import {inject as service} from '@ember/service';
|
|
|
|
|
2022-02-01 12:34:03 +03:00
|
|
|
@classic
|
|
|
|
export default class GhBillingModal extends Component {
|
2022-02-01 20:03:45 +03:00
|
|
|
@service billing;
|
2020-05-22 05:44:37 +03:00
|
|
|
|
2022-02-01 12:34:03 +03:00
|
|
|
@computed('billingWindowOpen')
|
|
|
|
get visibilityClass() {
|
2021-03-10 19:15:19 +03:00
|
|
|
return this.billingWindowOpen ? 'gh-billing' : 'gh-billing closed';
|
2022-02-01 12:34:03 +03:00
|
|
|
}
|
|
|
|
}
|