mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
hotfix
This commit is contained in:
@@ -47,7 +47,8 @@ export const useMainStore = defineStore('store', {
|
||||
const sceneryNames =
|
||||
train.timetable?.sceneries?.map(
|
||||
(sceneryHash) =>
|
||||
this.activeSceneryList.find((st) => st.hash === sceneryHash)?.name ??
|
||||
apiStore.activeData?.activeSceneries?.find((st) => st.stationHash === sceneryHash)
|
||||
?.stationName ??
|
||||
apiStore.sceneryData.find((sd) => sd.hash === sceneryHash)?.name ??
|
||||
sceneryHash
|
||||
) ?? [];
|
||||
|
||||
Reference in New Issue
Block a user