mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
Dodanie możliwości zmiany serwerów gry
This commit is contained in:
+4
-7
@@ -39,7 +39,10 @@
|
||||
|
||||
<span class="header_info">
|
||||
<Clock />
|
||||
|
||||
<div class="info_counter">
|
||||
<span class="region">{{ currentRegion.value }}</span>
|
||||
|
||||
<img src="@/assets/icon-dispatcher.svg" alt="icon dispatcher" />
|
||||
<span>{{ data.activeStationCount }}</span>
|
||||
<span>{{ data.activeTrainCount }}</span>
|
||||
@@ -104,7 +107,7 @@ export default defineComponent({
|
||||
() => store.getters[GETTERS.allData]
|
||||
);
|
||||
|
||||
const currentRegion: ComputedRef<string> = computed(
|
||||
const currentRegion: ComputedRef<{ id: string; value: string }> = computed(
|
||||
() => store.getters[GETTERS.currentRegion]
|
||||
);
|
||||
|
||||
@@ -154,12 +157,6 @@ export default defineComponent({
|
||||
StorageManager.setStringValue("lang", lang);
|
||||
},
|
||||
|
||||
// changeRegion(region: string = "eu") {
|
||||
// this.$store.commit(MUTATIONS.SET_REGION, region);
|
||||
// this.$store.dispatch(ACTIONS.fetchOnlineData);
|
||||
|
||||
// },
|
||||
|
||||
loadLang() {
|
||||
const storageLang = StorageManager.getStringValue("lang");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user