mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 13:38:13 +00:00
hotfix: api cache omitting
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user