This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user