@idsoftsource/initial-process 2.1.1 → 2.1.2
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.
|
@@ -35166,7 +35166,7 @@ class InitialProcessComponent {
|
|
|
35166
35166
|
this.selectedContractorCategories.forEach((e) => {
|
|
35167
35167
|
var obj = e?.items
|
|
35168
35168
|
?.filter((a) => a.selected)
|
|
35169
|
-
.map((a) => ({ targetProviderId: id, contractorSubCategoryId: a.contractorSubCategoryId }));
|
|
35169
|
+
.map((a) => ({ targetProviderId: id, contractorSubCategoryId: a.contractorSubCategoryId ?? a.id }));
|
|
35170
35170
|
if (obj?.length)
|
|
35171
35171
|
saveModel = [...saveModel, ...obj];
|
|
35172
35172
|
});
|