2023-03-30 17:40:06 +03:00
|
|
|
import Controller from '@ember/controller';
|
|
|
|
import {action} from '@ember/object';
|
|
|
|
import {inject as service} from '@ember/service';
|
|
|
|
|
|
|
|
export default class MigrateController extends Controller {
|
|
|
|
@service migrate;
|
|
|
|
@service router;
|
|
|
|
|
|
|
|
get visibilityClass() {
|
|
|
|
return this.migrate.isIframeTransition ? 'migrate iframe-migrate-container' : ' migrate fullscreen-migrate-container';
|
|
|
|
}
|
|
|
|
|
|
|
|
@action
|
|
|
|
closeMigrate() {
|
2023-12-13 18:25:29 +03:00
|
|
|
this.router.transitionTo('/settings/migration');
|
2023-03-30 17:40:06 +03:00
|
|
|
}
|
|
|
|
}
|