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