@hmcts/ccd-case-ui-toolkit 6.19.9-rc1 → 6.19.9-rc2
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-ccd-case-ui-toolkit.umd.js +2 -2
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +3 -3
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +2 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -26423,7 +26423,7 @@
|
|
|
26423
26423
|
});
|
|
26424
26424
|
return !!hasChildrenWithValue;
|
|
26425
26425
|
};
|
|
26426
|
-
ReadFieldsFilterPipe.isValidCollection = function (field, values) {
|
|
26426
|
+
ReadFieldsFilterPipe.isValidCollection = function (field, values, checkConditionalShowAgainst) {
|
|
26427
26427
|
// if field is collection and it has complex/collection child field; parent field doesnt have value defined
|
|
26428
26428
|
if (!Array.isArray(field.value) && values && values.hasOwnProperty(field.id)) {
|
|
26429
26429
|
return true;
|
|
@@ -26437,7 +26437,7 @@
|
|
|
26437
26437
|
value: item.value,
|
|
26438
26438
|
label: null,
|
|
26439
26439
|
});
|
|
26440
|
-
return ReadFieldsFilterPipe.isValidComplex(complexField);
|
|
26440
|
+
return ReadFieldsFilterPipe.isValidComplex(complexField, undefined, checkConditionalShowAgainst);
|
|
26441
26441
|
});
|
|
26442
26442
|
}
|
|
26443
26443
|
return isNotEmpty;
|