diff --git a/src/store/store.ts b/src/store/store.ts index e6c8e4c..2157624 100644 --- a/src/store/store.ts +++ b/src/store/store.ts @@ -135,6 +135,9 @@ export const useStore = defineStore('store', { .reduce((list, apiStation) => { if (apiStation.region != state.region.id) return list; + if (apiStation.isOnline !== 1 && Date.now() - apiStation.lastSeen > 1000 * 60 * 3) + return list; + const dispatcherStatus = getDispatcherStatus(state as StoreState, apiStation); if (dispatcherStatus.statusID == DispatcherStatusID.Unknown) return list;