@idsoftsource/initial-process 4.0.5 → 4.0.7
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.
|
@@ -2944,11 +2944,8 @@ class UserDocumentService {
|
|
|
2944
2944
|
let params = new HttpParams()
|
|
2945
2945
|
.set('MainType', maintype)
|
|
2946
2946
|
.set('IsActive', true);
|
|
2947
|
-
if (providerId) {
|
|
2948
|
-
params = params.set('TargetProviderId', providerId);
|
|
2949
|
-
}
|
|
2950
2947
|
if (searchText.trim()) {
|
|
2951
|
-
params = params.set('Type', searchText.trim());
|
|
2948
|
+
params = params.set('Type', `${searchText.trim()}`);
|
|
2952
2949
|
}
|
|
2953
2950
|
if (professionId) {
|
|
2954
2951
|
params = params.append('ProfessionIds', professionId);
|