@aggdirect/coolmap 2.0.2 → 2.0.4

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.
@@ -794,7 +794,11 @@ class JobCodeComponent {
794
794
  }
795
795
  });
796
796
  }
797
- toggleSidemenu() { this.isVisible = !this.isVisible; }
797
+ toggleSidemenu() {
798
+ this.isVisible = !this.isVisible;
799
+ this.detailsCardEnable = false;
800
+ this.preventMouseout = false;
801
+ }
798
802
  clearJob() { this.clearJobDetails.emit(true); this.utils.preVentJobdetailclose.next(false); }
799
803
  selectRoute(event) {
800
804
  const i = this.selectedRoute.selected.findIndex(ele => ele['order_number'] === event['order_number']);
@@ -1047,8 +1051,8 @@ class AddRouteComponent {
1047
1051
  }
1048
1052
  });
1049
1053
  }
1050
- async fetchUnitsList() {
1051
- await this.utils.getData('coolmap/unit/list/view').pipe(takeUntil(this.destroyer$)).subscribe((res) => {
1054
+ fetchUnitsList() {
1055
+ this.utils.getData('coolmap/unit/list/view').pipe(takeUntil(this.destroyer$)).subscribe((res) => {
1052
1056
  if (res) {
1053
1057
  this.unitsList = res.data;
1054
1058
  }