Skip to content

Commit

Permalink
Update ListAppliedStandards.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDuprey committed May 30, 2024
1 parent 25688a6 commit 0c07f2c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/views/tenant/standards/ListAppliedStandards.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -634,20 +634,13 @@ const ApplyNewStandard = () => {
<h5>Remediate</h5>
<RFFCFormSwitch
name={`${obj.name}.remediate`}
disabled={
obj.disabledFeatures?.remediate ||
(isAllTenantEnabled(obj, 'remediate') &&
tenantDomain !== 'AllTenants' &&
props.values.standards?.OverrideAllTenants
?.remediate !== true)
}
helpText={'Remediate executes the fix for standard.'}
sublabel={
isAllTenantEnabled(obj, 'remediate') &&
tenantDomain !== 'AllTenants' &&
props.values.standards?.OverrideAllTenants
?.remediate !== true
? '* Enabled via All Tenants'
? '* Enabled via All Tenants, toggle to override input'
: ''
}
/>
Expand Down

0 comments on commit 0c07f2c

Please sign in to comment.