hotfix: api cache omitting

This commit is contained in:
2024-07-12 19:55:24 +02:00
parent e672e21088
commit 018357c5ed
+1 -1
View File
@@ -34,7 +34,7 @@ export const useStore = defineStore('store', {
this.dataState = 'LOADING';
try {
const data = (await client.get<SceneryRowItem[]>(`api/getSceneries`)).data;
const data = (await client.get<SceneryRowItem[]>(`api/getSceneries?t=${Date.now()}`)).data;
this.dataState = 'LOADED';
this.backupList = JSON.parse(JSON.stringify(data));
this.stationList = data;