@undp/carbon-library 1.0.134-CARBON-332.2 → 1.0.134-CARBON-332.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -18156,9 +18156,9 @@ var SocialEnvironmentalRisk = function (props) {
|
|
18156
18156
|
var checkHeaderAvailability = function () {
|
18157
18157
|
SocialEnvironmentalDetails.forEach(function (section) {
|
18158
18158
|
section.isTitleVisible = false;
|
18159
|
-
section.forEach(function (subSection) {
|
18159
|
+
section.subItems.forEach(function (subSection) {
|
18160
18160
|
subSection.isTitleVisible = false;
|
18161
|
-
subSection.forEach(function (element) {
|
18161
|
+
subSection.subItems.forEach(function (element) {
|
18162
18162
|
if (SocialEnvironmentalRiskData.hasOwnProperty(element === null || element === void 0 ? void 0 : element.name)) {
|
18163
18163
|
subSection.isTitleVisible = true;
|
18164
18164
|
}
|