This commit is contained in:
2022-01-19 20:40:03 +00:00
parent 08e528d333
commit afbc68aa20
2 changed files with 2 additions and 37 deletions

View File

@@ -175,7 +175,7 @@ export default new Vuex.Store({
state.helpUrl = data;
},
logItem(state, msg) {
msg = Date.now() + "|" + msg;
msg = new Date().toLocaleString("sv-SE") + "|" + msg;
state.logArray.push(msg);
if (state.logArray.length > MaxLogLength) {
//remove beginning elements