mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
chore: offline mode improvements; changed to CacheFirst strategy
This commit is contained in:
@@ -78,6 +78,7 @@ export const useApiStore = defineStore('apiStore', {
|
||||
},
|
||||
|
||||
async fetchActiveData() {
|
||||
if (this.dataStatuses.connection == Status.Data.Offline) return;
|
||||
if (!this.activeData) this.dataStatuses.connection = Status.Data.Loading;
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user