mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
23 lines
544 B
JavaScript
23 lines
544 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';
|
|
import {tracked} from '@glimmer/tracking';
|
|
|
|
export default class SettingsController extends Controller {
|
|
@service modals;
|
|
@service upgradeStatus;
|
|
|
|
@tracked dirty = false;
|
|
|
|
@action
|
|
openAbout() {
|
|
this.advancedModal = this.modals.open(AboutModal);
|
|
}
|
|
|
|
@action
|
|
setDirty(dirty) {
|
|
this.dirty = dirty;
|
|
}
|
|
}
|