@hmcts/rpx-xui-common-lib 1.7.18 → 1.7.19-create-booking
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.
- package/bundles/hmcts-rpx-xui-common-lib.umd.js +1 -2
- package/bundles/hmcts-rpx-xui-common-lib.umd.js.map +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js +1 -1
- package/bundles/hmcts-rpx-xui-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/components/search-location/search-location.component.js +2 -3
- package/esm5/lib/components/search-location/search-location.component.js +2 -3
- package/fesm2015/hmcts-rpx-xui-common-lib.js +1 -2
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +1 -2
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -4153,8 +4153,7 @@ var SearchLocationComponent = /** @class */ (function () {
|
|
|
4153
4153
|
bookingLocations = JSON.parse(this.sessionStorageService.getItem('bookingLocations'));
|
|
4154
4154
|
}
|
|
4155
4155
|
else if (this.bookingCheck === BookingCheckType.POSSIBLE_BOOKINGS) {
|
|
4156
|
-
|
|
4157
|
-
this.serviceIds = JSON.parse(this.sessionStorageService.getItem('bookableServices'));
|
|
4156
|
+
this.serviceIds = this.serviceIds && this.serviceIds.length ? this.serviceIds : JSON.parse(this.sessionStorageService.getItem('bookableServices'));
|
|
4158
4157
|
}
|
|
4159
4158
|
return this.locationService.getAllLocations(this.serviceIds, this.locationType, term, userLocations, bookingLocations);
|
|
4160
4159
|
};
|