mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
fix discard not closing on singleton (#4727)
This commit is contained in:
@@ -469,6 +469,7 @@ export default defineComponent({
|
||||
function discardAndLeave() {
|
||||
if (!leaveTo.value) return;
|
||||
edits.value = {};
|
||||
confirmLeave.value = false;
|
||||
router.push(leaveTo.value);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user