+
forum
Servers
@@ -83,7 +83,7 @@ export default {
},
data() {
return {
- currentTab: localStorage.getItem("currentTab") || 0,
+ currentTab: 0,
title: "Nertivia",
isElectron: window && window.process && window.process.type
};
@@ -114,6 +114,13 @@ export default {
},
},
mounted() {
+
+ const currentTab = localStorage.getItem("currentTab");
+ if(currentTab) {
+ this.currentTab = parseInt(currentTab);
+ }
+
+
// check if changelog is updated
const seenVersion = localStorage.getItem("changelog-version-seen");
if (!seenVersion || seenVersion < changelog[0].version) {