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