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

@@ -63,7 +63,7 @@ http://localhost:8080/login
CURRENT WORK:
- test repeat error message code in errorhandler (throw same error multiple times??)
- Get edit form existing features completely working (also need new reportchooser not based on the original dialog component)
- new record entry is a bit fucked up:
- Getting validation errors that don't make sense

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);