mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
e68db848dc
refs. https://github.com/TryGhost/Product/issues/3949 --------- Co-authored-by: Jono Mingard <reason.koan@gmail.com> Co-authored-by: Daniel Lockyer <hi@daniellockyer.com>
20 lines
482 B
JavaScript
20 lines
482 B
JavaScript
import AuthenticatedRoute from 'ghost-admin/routes/authenticated';
|
|
import {inject as service} from '@ember/service';
|
|
|
|
export default class SettingsXRoute extends AuthenticatedRoute {
|
|
@service session;
|
|
@service feature;
|
|
@service ui;
|
|
@service modals;
|
|
|
|
activate() {
|
|
super.activate(...arguments);
|
|
this.ui.set('isFullScreen', true);
|
|
}
|
|
|
|
deactivate() {
|
|
super.deactivate(...arguments);
|
|
this.ui.set('isFullScreen', false);
|
|
}
|
|
}
|