@hmcts/rpx-xui-common-lib 1.6.10 → 1.6.11-hearing-part2

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.
@@ -1130,7 +1130,6 @@
1130
1130
  */
1131
1131
  function (values, field) {
1132
1132
  var e_2, _a;
1133
- console.log('updatePersonControls', values, field);
1134
1133
  /** @type {?} */
1135
1134
  var keys;
1136
1135
  if (!values) {
@@ -3743,6 +3742,9 @@
3743
3742
  * @return {?} Observable<LocationByEPIMMSModel[]>: Array of locationModel in Observable
3744
3743
  */
3745
3744
  function (serviceIds, locationType, searchTerm) {
3745
+ if (locationType === 'hearing') {
3746
+ return this.http.get("api/prd/location/getLocations?serviceIds=" + serviceIds + "&locationType=" + locationType + "&searchTerm=" + searchTerm);
3747
+ }
3746
3748
  return this.http.get("api/locations/getLocations?serviceIds=" + serviceIds + "&locationType=" + locationType + "&searchTerm=" + searchTerm);
3747
3749
  };
3748
3750
  LocationService.decorators = [