diff --git a/src/PresentationalComponents/RulesTable/RulesTableRest.js b/src/PresentationalComponents/RulesTable/RulesTableRest.js index 6ba824bc5..03d763cb8 100644 --- a/src/PresentationalComponents/RulesTable/RulesTableRest.js +++ b/src/PresentationalComponents/RulesTable/RulesTableRest.js @@ -27,6 +27,7 @@ const RulesTable = ({ setRuleValues, ruleValues, valueDefinitions, + skipValueDefinitions, onRuleValueReset, DedicatedAction, onValueOverrideSave, @@ -81,9 +82,11 @@ const RulesTable = ({ ruleValues: ruleRuleValues, }; - return valueDefinitions === undefined || - valueDefinitions.loading === true || - valueDefinitions.data === undefined ? ( + return (skipValueDefinitions === undefined || + skipValueDefinitions === false) && + (valueDefinitions === undefined || + valueDefinitions.loading === true || + valueDefinitions.data === undefined) ? ( ) : ( { onSelect={true} remediationsEnabled reportTestResult={reportTestResult} + skipValueDefinitions={true} // TODO: provide ruleTree // TODO: hide passed rules by default />