perf: move updateAlarmQueryStamp to station list query
This commit is contained in:
@@ -53,7 +53,6 @@ export function useLineDevicesQuery() {
|
||||
await getStationDevices({ station, signal });
|
||||
}
|
||||
console.timeEnd('useLineDevicesQuery');
|
||||
queryControlStore.updateAlarmQueryStamp();
|
||||
return null;
|
||||
},
|
||||
});
|
||||
|
||||
@@ -25,6 +25,7 @@ export function useStationListQuery() {
|
||||
await getStationList({ signal });
|
||||
console.timeEnd('useStationListQuery');
|
||||
queryControlStore.updateDeviceQueryStamp();
|
||||
queryControlStore.updateAlarmQueryStamp();
|
||||
return null;
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user