This commit is contained in:
@@ -430,7 +430,13 @@ export default {
|
||||
vm.formState.serverError = res.error;
|
||||
vm.$gzform.setErrorBoxErrors(vm);
|
||||
} else {
|
||||
//success, navigate backwards
|
||||
//success set to not dirty so navigation guard is not triggered
|
||||
vm.$gzform.setFormState({
|
||||
vm: vm,
|
||||
dirty: false
|
||||
});
|
||||
|
||||
// navigate backwards
|
||||
vm.$router.go(-1);
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user