diff --git a/src/views/tenant/standards/ListAppliedStandards.jsx b/src/views/tenant/standards/ListAppliedStandards.jsx index 31df75f933d0..71ec89698fcf 100644 --- a/src/views/tenant/standards/ListAppliedStandards.jsx +++ b/src/views/tenant/standards/ListAppliedStandards.jsx @@ -209,7 +209,7 @@ const ListAppliedStandards = () => { Object.keys(standards).forEach((key) => { const standard = standards[key] // Check if 'Enabled' exists and the specific type is true - if (standard.Enabled && standard.Enabled[type]) { + if (standard?.Enabled && standard?.Enabled[type]) { count++ } else if (standard[type]) { // Check if the type exists directly under the standard @@ -331,7 +331,7 @@ const ListAppliedStandards = () => {
Remediate