Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@adactive/adsum-wayfindingcontrols-asia

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adactive/adsum-wayfindingcontrols-asia - npm Package Compare versions

Comparing version 2.5.5 to 2.5.6

2

package.json
{
"name": "@adactive/adsum-wayfindingcontrols-asia",
"version": "2.5.5",
"version": "2.5.6",
"description": "Adsum Way Finding Controls Component",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -105,3 +105,2 @@ // @flow

if (!wayfindingState.drawing
&& prevProps.wayfindingState.drawing
&& wayFindingControlsState.takeMeThere

@@ -127,3 +126,3 @@ && wayFindingControlsState.takeMeThere[0]

// If The Current Index Of Wayfinder is Even (Between Add Interchange(IC) Label or Add Destination Label)
if (wayfindingState.currentSectionIndex % 2 === 0) {
if (wayfindingState.currentSectionIndex % 2 === 0 && prevProps.wayfindingState.drawing) {
// If Interchange Label Exist, Delete it

@@ -135,3 +134,3 @@ if (wayFindingControlsState.interchangeLabel.length > 0) {

// If It is Destination Label
if (prevProps.wayfindingState.drawing !== wayfindingState.drawing
if (prevProps.wayfindingState.drawing !== wayfindingState.drawing && prevProps.wayfindingState.drawing
&& wayfindingState.currentSectionIndex === (pathSection.length - 1)) {

@@ -141,3 +140,3 @@ this.addArrivalLabel(finalLabelText, pathSection);

// If it is Interchange Label(s)
} else if (wayfindingState.currentSectionIndex !== (pathSection.length - 1)) {
} else if (wayfindingState.currentSectionIndex !== (pathSection.length - 1) && prevProps.wayfindingState.drawing) {
let icDestinationFloorPosition;

@@ -240,3 +239,5 @@ if (pathSection[wayfindingState.currentSectionIndex + 1].to.pathNode.ground.id > kioskPlace.id) {

}
awm.objectManager.addLabelOnAdsumLocation(changeFloorLabel, pathSection[wayfindingState.currentSectionIndex].to);
if (pathSection && pathSection[wayfindingState.currentSectionIndex] && pathSection[wayfindingState.currentSectionIndex].to){
awm.objectManager.addLabelOnAdsumLocation(changeFloorLabel, pathSection[wayfindingState.currentSectionIndex].to);
}
}

@@ -243,0 +244,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc