Cleaned up excessive logging at client, paring down to errors mostly and critical info

This commit is contained in:
2021-09-26 21:19:21 +00:00
parent d834e9a1a0
commit 51eddfede9
6 changed files with 13 additions and 83 deletions

View File

@@ -285,25 +285,6 @@ export default {
});
}
//Removed this when I added the PWA update code because in reality it should not be required for
//regular updates as it would be very intrusive, instead, on a new version it should internally fixup the
//store if necessary
// //Detect version change, wipe persisted form settings if has changed.
// let currentVersion = window.$gz.clientInfo.version;
// if (currentVersion != window.$gz.store.state.lastClientVersion) {
// window.$gz.store.commit(
// "logItem",
// "##### New version detected ##### cleared form settings cache (" +
// window.$gz.store.state.lastClientVersion +
// " -> " +
// currentVersion +
// ")"
// );
// window.$gz.store.commit("setLastClientVersion", currentVersion);
// window.$gz.store.commit("clearAllFormSettings");
// }
//////////////////////////////////
// WIRE UP
// EVENT HANDLERS ON GZEVENTBUS