Ghost/ghost/admin/app/controllers/settings.js
Kevin Ansfield 4e9a78c36d Cleaned up unused branding modal
no issue

- the branding modal was a hangover from before the design settings screen that hadn't been fully removed after the newer settings screen was released
2022-01-13 13:31:32 +00:00

28 lines
648 B
JavaScript

/* eslint-disable ghost/ember/alias-model-in-controller */
import Controller from '@ember/controller';
import {inject as service} from '@ember/service';
export default Controller.extend({
settings: service(),
session: service(),
showLeaveSettingsModal: false,
actions: {
openStripeSettings() {
this.set('membersStripeOpen', true);
},
closeLeaveSettingsModal() {
this.set('showLeaveSettingsModal', false);
},
async leavePortalSettings() {
this.settings.rollbackAttributes();
this.set('showLeaveSettingsModal', false);
}
}
});