Skip to content

Commit aec3cb3

Browse files
fix autoremediate bug
1 parent 07e140c commit aec3cb3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/CippStandards/CippStandardAccordion.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,9 @@ const CippStandardAccordion = ({
135135

136136
// Set default autoRemediate if not set
137137
if (currentValues.autoRemediate === undefined) {
138-
formControl.setValue(`${standardName}.autoRemediate`, true);
138+
formControl.setValue(`${standardName}.autoRemediate`, false);
139139
formControl.setValue(`${standardName}.action`, [
140140
{ label: "Report", value: "Report" },
141-
{ label: "Remediate", value: "Remediate" },
142141
]);
143142
}
144143
});

0 commit comments

Comments
 (0)