mirror of
https://github.com/directus/directus.git
synced 2026-01-28 07:48:04 -05:00
prevent save changes prompt after item is deleted (#8158)
This commit is contained in:
@@ -481,6 +481,7 @@ export default defineComponent({
|
||||
async function deleteAndQuit() {
|
||||
try {
|
||||
await remove();
|
||||
edits.value = {};
|
||||
router.push(`/collections/${props.collection}`);
|
||||
} catch {
|
||||
// `remove` will show the unexpected error dialog
|
||||
|
||||
Reference in New Issue
Block a user