mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
fix: RJ scenerii offline
This commit is contained in:
@@ -107,7 +107,10 @@ export const useMainStore = defineStore('store', {
|
||||
if (
|
||||
acc.findIndex((v) => v.name == name && v.region == train.region) != -1 ||
|
||||
apiStore.activeData?.activeSceneries?.findIndex(
|
||||
(sc) => sc.stationName === name && sc.region == train.region
|
||||
(sc) =>
|
||||
sc.stationName === name &&
|
||||
sc.region == train.region &&
|
||||
Date.now() - sc.lastSeen < 1000 * 60 * 2
|
||||
) != -1
|
||||
)
|
||||
return acc;
|
||||
|
||||
Reference in New Issue
Block a user