diff --git a/core/client/app/components/modals/leave-editor.js b/core/client/app/components/modals/leave-editor.js index 43692de940..a334a4e398 100644 --- a/core/client/app/components/modals/leave-editor.js +++ b/core/client/app/components/modals/leave-editor.js @@ -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'); }); }