mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-04 22:08:12 +00:00
hotfix
This commit is contained in:
@@ -47,7 +47,8 @@ export const useMainStore = defineStore('store', {
|
|||||||
const sceneryNames =
|
const sceneryNames =
|
||||||
train.timetable?.sceneries?.map(
|
train.timetable?.sceneries?.map(
|
||||||
(sceneryHash) =>
|
(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 ??
|
apiStore.sceneryData.find((sd) => sd.hash === sceneryHash)?.name ??
|
||||||
sceneryHash
|
sceneryHash
|
||||||
) ?? [];
|
) ?? [];
|
||||||
|
|||||||
Reference in New Issue
Block a user