mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
4e9a78c36d
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
28 lines
648 B
JavaScript
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);
|
|
}
|
|
}
|
|
|
|
});
|