@hmcts/rpx-xui-common-lib 1.7.18 → 1.7.19-ctsc-role
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 +2 -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/esm2015/lib/models/person.model.js +2 -1
- package/esm5/lib/components/search-location/search-location.component.js +2 -3
- package/esm5/lib/models/person.model.js +2 -1
- package/fesm2015/hmcts-rpx-xui-common-lib.js +2 -2
- package/fesm2015/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/fesm5/hmcts-rpx-xui-common-lib.js +2 -2
- package/fesm5/hmcts-rpx-xui-common-lib.js.map +1 -1
- package/lib/models/person.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3833,6 +3833,7 @@
|
|
|
3833
3833
|
JUDICIAL: "Judicial",
|
|
3834
3834
|
CASEWORKER: "Legal Ops",
|
|
3835
3835
|
ADMIN: "Admin",
|
|
3836
|
+
CTSC: "CTSC",
|
|
3836
3837
|
ALL: "All",
|
|
3837
3838
|
};
|
|
3838
3839
|
/** @enum {string} */
|
|
@@ -4198,8 +4199,7 @@
|
|
|
4198
4199
|
bookingLocations = JSON.parse(this.sessionStorageService.getItem('bookingLocations'));
|
|
4199
4200
|
}
|
|
4200
4201
|
else if (this.bookingCheck === BookingCheckType.POSSIBLE_BOOKINGS) {
|
|
4201
|
-
|
|
4202
|
-
this.serviceIds = JSON.parse(this.sessionStorageService.getItem('bookableServices'));
|
|
4202
|
+
this.serviceIds = this.serviceIds && this.serviceIds.length ? this.serviceIds : JSON.parse(this.sessionStorageService.getItem('bookableServices'));
|
|
4203
4203
|
}
|
|
4204
4204
|
return this.locationService.getAllLocations(this.serviceIds, this.locationType, term, userLocations, bookingLocations);
|
|
4205
4205
|
};
|