Ghost/ghost/admin/app/controllers/settings-x.js
Jono M 9dd2489000
Fixed bugs with AdminX navigation settings (#17340)
refs https://github.com/TryGhost/Product/issues/3433

- Removed Ember dirty state from AdminX to prevent extra popups
- Fixed incorrect navigation popup new item errors
2023-07-13 01:12:31 +00:00

15 lines
403 B
JavaScript

import AboutModal from '../components/modals/settings/about';
import Controller from '@ember/controller';
import {action} from '@ember/object';
import {inject as service} from '@ember/service';
export default class SettingsController extends Controller {
@service modals;
@service upgradeStatus;
@action
openAbout() {
this.advancedModal = this.modals.open(AboutModal);
}
}