fix: resolve SGS hall fallback floor typing
This commit is contained in:
@@ -473,9 +473,7 @@ export const toMuseumHallPoisFromSgs = (
|
|||||||
const fallbackFloorIdForPoi = stringifyId(matchedSpace?.floorId) || entrance.floorId || fallbackFloorId
|
const fallbackFloorIdForPoi = stringifyId(matchedSpace?.floorId) || entrance.floorId || fallbackFloorId
|
||||||
const fallbackFloorLabel = floorLabelForSgs(
|
const fallbackFloorLabel = floorLabelForSgs(
|
||||||
fallbackFloorIdForPoi,
|
fallbackFloorIdForPoi,
|
||||||
floors,
|
floors
|
||||||
matchedSpace?.floorCode,
|
|
||||||
matchedSpace?.floorName || matchedSpace?.name
|
|
||||||
)
|
)
|
||||||
const hallId = stringifyId(matchedSpace?.id) || undefined
|
const hallId = stringifyId(matchedSpace?.id) || undefined
|
||||||
const poiId = createHallPoiId(matchedSpace, place, index)
|
const poiId = createHallPoiId(matchedSpace, place, index)
|
||||||
|
|||||||
Reference in New Issue
Block a user