Poprawki do zmiany serwerów TD2, ogólne

This commit is contained in:
2021-09-23 19:33:24 +02:00
parent 1aae8b4757
commit ffb08696e2
5 changed files with 49 additions and 59 deletions
+1 -23
View File
@@ -89,14 +89,7 @@
import Clock from "@/components/App/Clock.vue";
import StorageManager from "@/scripts/managers/storageManager";
import {
computed,
ComputedRef,
defineComponent,
inject,
provide,
ref,
} from "vue";
import { computed, ComputedRef, defineComponent, provide, ref } from "vue";
import { GETTERS } from "./constants/storeConstants";
import { StoreData } from "./scripts/interfaces/StoreData";
import { useStore } from "./store";
@@ -191,21 +184,6 @@ export default defineComponent({
this.changeLang("en");
return;
}
// if (naviLanguage.includes("pl")) {
// this.changeLang("pl");
// return;
// }
// switch (window.navigator.language) {
// case "pl-PL":
// this.changeLang("pl");
// break;
// case "en-EN":
// default:
// this.changeLang("en");
// break;
// }
},
},
});