@aggdirect/coolmap 2.0.4 → 2.0.5

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.
@@ -933,7 +933,8 @@ class AddRouteComponent {
933
933
  else {
934
934
  this.popupDetails = res['route'];
935
935
  }
936
- this.popupDetails['created_at'] = this.utils.getDateFormat(new Date(this.popupDetails['created_at']), '/');
936
+ if (this.enablePopUp)
937
+ this.popupDetails['created_at'] = this.utils.getDateFormat(new Date(this.popupDetails['created_at']), '/');
937
938
  }
938
939
  });
939
940
  }