This commit is contained in:
2019-11-06 01:06:27 +00:00
parent 20cd32ed3f
commit 71901c90ca
7 changed files with 28 additions and 56 deletions

View File

@@ -1,4 +1,4 @@
/* Xeslint-disable */
/* eslint-disable */
var devModeShowErrors = false;
@@ -7,6 +7,7 @@ var devModeShowErrors = false;
// Localize, Log and optionally display errors
// return localized message in case caller needs it
function dealWithError(msg, vm) {
debugger;
msg = window.$gz.locale.translateString(msg);
//In some cases the error may not be localizable, if this is not a debug run then it should show without the ?? that localizing puts in keys not found
//so it's not as wierd looking to the user

View File

@@ -1,4 +1,4 @@
/* xeslint-disable */
/* Xeslint-disable */
function addNavItem(title, icon, route) {
window.$gz.store.commit("addNavItem", {
@@ -144,7 +144,7 @@ export default function initialize() {
if (res.data.timeZoneOffset != localOffset) {
//TODO: localize message and also actually have a fix for it here
//so this should be a confirm prompt but for now will just show it
//for now just show the message
window.$gz.eventBus.$emit(
"notify-info",