mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-04 05:58: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';
|
this.dataState = 'LOADING';
|
||||||
|
|
||||||
try {
|
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.dataState = 'LOADED';
|
||||||
this.backupList = JSON.parse(JSON.stringify(data));
|
this.backupList = JSON.parse(JSON.stringify(data));
|
||||||
this.stationList = data;
|
this.stationList = data;
|
||||||
|
|||||||
Reference in New Issue
Block a user