@adactive/adsum-wayfindingcontrols-asia
Advanced tools
Comparing version 2.5.9 to 2.6.0
{ | ||
"name": "@adactive/adsum-wayfindingcontrols-asia", | ||
"version": "2.5.9", | ||
"version": "2.6.0", | ||
"description": "Adsum Way Finding Controls Component", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -116,5 +116,5 @@ // @flow | ||
const pathSection = path.getPathSections(true); | ||
const poiDestination = ACA.getPoisFromPlace(wayFindingControlsState.takeMeThere[0].id); | ||
const poiDestination = wayFindingControlsState.takeMeThere[0].poiName ? wayFindingControlsState.takeMeThere[0].poiName : null; | ||
const destinationFloor = pathSection[(pathSection.length - 1)].ground; | ||
const finalLabelText = destinationLabelText + poiDestination[0].name + ' '; | ||
const finalLabelText = destinationLabelText + poiDestination + ' '; | ||
@@ -121,0 +121,0 @@ // Store Destination Poi and Destination Place |
@@ -19,4 +19,7 @@ // @flow | ||
export function tmtt(poi, poiPlace, pmr) { | ||
let poiPlaceFix | ||
if (poi && poi.placeId) { | ||
store.dispatch(WayfindingActions.goToPlaceAction(poi.placeId, pmr || false)); | ||
poiPlaceFix = poiPlace; | ||
poiPlaceFix[0] ? poiPlaceFix[0].poiName = poi.name : poiPlaceFix.poiName = poi.name; | ||
} | ||
@@ -31,3 +34,3 @@ if (poiPlace && pmr) { | ||
type: tmt, | ||
payload: poiPlace | ||
payload: poiPlaceFix | ||
}); | ||
@@ -34,0 +37,0 @@ }; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26601
528