mirror of
https://github.com/directus/directus.git
synced 2026-02-12 00:24:58 -05:00
Don't navigate on save error
This commit is contained in:
@@ -117,8 +117,9 @@ export function useItem(collection: Ref<string>, primaryKey: Ref<string | number
|
||||
});
|
||||
} else {
|
||||
unexpectedError(err);
|
||||
throw err;
|
||||
}
|
||||
|
||||
throw err;
|
||||
} finally {
|
||||
saving.value = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user