This commit is contained in:
2021-04-16 00:26:45 +00:00
parent 9bf7b82d25
commit 115ba5b650
2 changed files with 7 additions and 8 deletions

View File

@@ -487,7 +487,7 @@ export default {
//handle errors
if (err.error) {
//# FAIL ROUTE
console.log("RAW ERROR OBJECT: ", err);
// console.log("RAW ERROR OBJECT: ", err);
//REHYDRATE ERRORS
//convert to form() error handling understood format
let compiledError = {
@@ -521,7 +521,7 @@ export default {
target: `Items[${z.woItemIndex}].scheduledUsers[${z.objectIndex}].${z.e.details[0].target}`
})
);
console.log("Compiled error ", compiledError);
//console.log("Compiled error ", compiledError);
vm.formState.serverError = compiledError;
window.$gz.form.setErrorBoxErrors(vm);