Ghost/ghost/admin/app/routes/settings-x.js
Peter Zimon e68db848dc
AdminX: reroute settings-x to settings (#18360)
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>
2023-10-09 08:12:46 +01:00

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);
}
}