@smarterplan/ngx-smarterplan-locations 0.2.2 → 0.2.3

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.
@@ -2077,7 +2077,8 @@ class SweepPlanSelectionComponent {
2077
2077
  }
2078
2078
  else {
2079
2079
  // remove from selection
2080
- if (this.occupiedSweeps.includes(button.id)) {
2080
+ if (this.occupiedSweeps.includes(button.id) && !this.navIDsZoneEdit.includes(button.id)) {
2081
+ // the sweep belongs to another zone => set orange
2081
2082
  button.style.backgroundImage = `url("https://api.iconify.design/mdi:adjust.svg?color=orange&height=17&width=17")`;
2082
2083
  }
2083
2084
  else {