Don't navigate on save error

This commit is contained in:
rijkvanzanten
2020-11-11 15:57:32 -05:00
parent 8a4578fee6
commit ef901218a5
4 changed files with 87 additions and 42 deletions

View File

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