mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
migracja http clienta do apiStore
This commit is contained in:
+3
-1
@@ -87,6 +87,8 @@ export default defineComponent({
|
||||
this.setupOfflineHandling();
|
||||
|
||||
this.apiStore.setupAPIData();
|
||||
|
||||
if (!this.isOnProductionHost) document.title = 'Stacjownik Dev';
|
||||
},
|
||||
|
||||
setupOfflineHandling() {
|
||||
@@ -108,7 +110,7 @@ export default defineComponent({
|
||||
handleOnlineMode() {
|
||||
this.store.isOffline = false;
|
||||
|
||||
this.apiStore.setupAPIData();
|
||||
this.apiStore.connectToAPI();
|
||||
},
|
||||
|
||||
changeLang(lang: string) {
|
||||
|
||||
Reference in New Issue
Block a user