mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 08:31:43 +03:00
86027fdb6f
Adds the UI for self-serve migrations
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';
|
|
}
|
|
}
|