@smarterplan/ngx-smarterplan-core 1.2.52 → 1.2.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1795,11 +1795,11 @@ class ZoneChangeService {
1795
1795
  this.zonesForUserChange = new Subject();
1796
1796
  this.floorHasChanged = new EventEmitter();
1797
1797
  this.zoneChange.subscribe((zone) => {
1798
- // console.log(`new zone ${JSON.stringify(zone)}`);
1798
+ //console.log(`new zone ${JSON.stringify(zone)}`);
1799
1799
  this.currentZone = zone;
1800
1800
  });
1801
1801
  this.zonesForUserChange.subscribe((zones) => {
1802
- // console.log(`new zones ${JSON.stringify(zones)}`);
1802
+ //console.log(`new zones ${JSON.stringify(zones)}`);
1803
1803
  this.currentZones = zones;
1804
1804
  });
1805
1805
  }
@@ -4068,6 +4068,7 @@ class ViewerService {
4068
4068
  this.dataIsLoaded = new Subject();
4069
4069
  this.isLoaded = false;
4070
4070
  this.showingViewer = false;
4071
+ this.goToTriggered = new Subject();
4071
4072
  this.toolboxStates = {
4072
4073
  dollhouse: {
4073
4074
  stat: false,
@@ -10997,6 +10998,7 @@ class NavigationBarComponent {
10997
10998
  zone.parentID === parentZoneForVisit.id);
10998
10999
  }
10999
11000
  async goTo() {
11001
+ this.viewerService.goToTriggered.next();
11000
11002
  if (this.selectedZone && !this.selectedZone.virtual) {
11001
11003
  this.sweepToGo = this.selectedZone.startSweepID
11002
11004
  ? this.selectedZone.startSweepID