0
Fork 0
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:
Kevin Ansfield 2016-04-13 09:12:22 +01:00
commit 4f40d24e52

View file

@ -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');
});
}