mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Merge pull request #6705 from acburdine/follow-up-6680
Fix leave editor modal
This commit is contained in:
commit
4f40d24e52
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import ModalComponent from 'ghost/components/modals/base';
|
|||
export default ModalComponent.extend({
|
||||
actions: {
|
||||
confirm() {
|
||||
this.get('confirm').finally(() => {
|
||||
this.get('confirm')().finally(() => {
|
||||
this.send('closeModal');
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue