mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Removed unused confirm-leave handling from theme settings screen
no issue - appears to be left-over from copy/paste of an earlier screen re-structure - cleaning up for easier extraction of functionality to new screens / modals
This commit is contained in:
parent
bf3a5198e4
commit
2ca57e7624
@ -23,12 +23,6 @@ export default AuthenticatedRoute.extend(CurrentUserSettings, {
|
||||
this.controller.send('reset');
|
||||
},
|
||||
|
||||
deactivate() {
|
||||
this._super(...arguments);
|
||||
this.controller.set('leaveSettingsTransition', null);
|
||||
this.controller.set('showLeaveSettingsModal', false);
|
||||
},
|
||||
|
||||
actions: {
|
||||
activateTheme(theme) {
|
||||
return this.controller.send('activateTheme', theme);
|
||||
|
@ -7,13 +7,6 @@
|
||||
</h2>
|
||||
</GhCanvasHeader>
|
||||
|
||||
{{#if this.showLeaveSettingsModal}}
|
||||
<GhFullscreenModal @modal="leave-settings"
|
||||
@confirm={{action "leaveSettings"}}
|
||||
@close={{action "toggleLeaveSettingsModal"}}
|
||||
@modifier="action wide" />
|
||||
{{/if}}
|
||||
|
||||
<section class="view-container">
|
||||
<div class="gh-setting-header gh-first-header flex justify-between">
|
||||
<span>Ghost theme directory</span>
|
||||
|
Loading…
Reference in New Issue
Block a user