This commit is contained in:
2024-03-31 21:55:33 +02:00
parent 235c16e30f
commit f53993c717
+2 -1
View File
@@ -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
) ?? [];