@aggdirect/coolmap 2.5.1 → 2.5.2

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.
@@ -626,7 +626,7 @@ class AddRouteNavComponent {
626
626
  this.routes.map((ele) => {
627
627
  ele.unit = this.getUnitName(ele);
628
628
  ele.materialLabel = this.getMaterialName(ele);
629
- ele.material = this.getMaterialName(ele).split('|')[0];
629
+ ele.material = this.getMaterialName(ele).split('|')[0].trim();
630
630
  this.utils.makeOptions(ele);
631
631
  });
632
632
  }
@@ -971,7 +971,7 @@ class JobCodeComponent {
971
971
  this.routes.map((ele) => {
972
972
  ele.unit = this.getUnitName(ele);
973
973
  ele.materialLabel = this.getMaterialName(ele);
974
- ele.material = this.getMaterialName(ele).split('|')[0];
974
+ ele.material = this.getMaterialName(ele).split('|')[0].trim();
975
975
  this.utils.makeOptions(ele);
976
976
  });
977
977
  this.masterRoutes = this.routes;