mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Aktualizacja scenerii; WIP: zmiana serwerów SWDR
This commit is contained in:
+11
@@ -104,8 +104,13 @@ export default defineComponent({
|
||||
() => store.getters[GETTERS.allData]
|
||||
);
|
||||
|
||||
const currentRegion: ComputedRef<string> = computed(
|
||||
() => store.getters[GETTERS.currentRegion]
|
||||
);
|
||||
|
||||
return {
|
||||
data,
|
||||
currentRegion,
|
||||
};
|
||||
},
|
||||
|
||||
@@ -149,6 +154,12 @@ 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