This commit is contained in:
@@ -31,6 +31,7 @@ function dealWithError(msg, vm) {
|
||||
msg;
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(errMsg);
|
||||
debugger;
|
||||
window.$gz.eventBus.$emit("notify-error", "Dev error see log / console");
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ function handleError(action, error, route, reject) {
|
||||
"notify-warning",
|
||||
window.$gz.locale.get("ErrorUserNotAuthorized")
|
||||
);
|
||||
router.push("/");
|
||||
router.push("/dashboard");
|
||||
return reject("[ErrorUserNotAuthorized]");
|
||||
}
|
||||
|
||||
|
||||
@@ -147,7 +147,7 @@ export default {
|
||||
window.open(helpurl, "_blank");
|
||||
break;
|
||||
case "logout":
|
||||
vm.$router.push({ name: "login" });
|
||||
vm.$router.push("/login");
|
||||
break;
|
||||
case "customize":
|
||||
vm.$router.push({
|
||||
|
||||
Reference in New Issue
Block a user