fix(editor): Fix inverted checks on modal confirmation results (#6285)

* fix(editor): Fix inverted checks on modal confirmation results

* test(editor): fix confirm modal buttons

* test(editor): fix confirm modal buttons

---------

Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-05-23 17:09:25 +00:00
committed by GitHub
parent eabecefe27
commit 5d2f4746ea
2 changed files with 7 additions and 7 deletions

View File

@@ -529,7 +529,7 @@ export default defineComponent({
),
},
);
keepEditing = confirmAction !== MODAL_CONFIRM;
keepEditing = confirmAction === MODAL_CONFIRM;
}
if (!keepEditing) {