mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 14:22:07 +03:00
11 lines
294 B
JavaScript
11 lines
294 B
JavaScript
|
import Component from '@glimmer/component';
|
||
|
import {inject as service} from '@ember/service';
|
||
|
|
||
|
export default class GhMigrateModal extends Component {
|
||
|
@service migrate;
|
||
|
|
||
|
get visibilityClass() {
|
||
|
return this.migrate.migrateWindowOpen ? 'gh-migrate' : 'gh-migrate closed';
|
||
|
}
|
||
|
}
|