This commit is contained in:
2019-11-14 20:42:24 +00:00
parent 583bb10e97
commit 5127e6680b
2 changed files with 3 additions and 3 deletions

View File

@@ -503,8 +503,8 @@ export default {
//do the delete
vm.formState.loading = true;
//No need to delete a new record, just abandon it...
if (this.$route.params.id != 0) {
//this should not get offered for delet but to be safe and clear just in case:
if (this.$route.params.id == 0) {
//this should not get offered for delete but to be safe and clear just in case:
JUST_DELETED = true;
// navigate backwards
vm.$router.go(-1);