Skip to content

Commit a9ff314

Browse files
authored
Merge pull request #2247 from Ren-Roros-Digital/BooleanSwitch
Added Boolean switch to standards lists
2 parents 756c6a5 + 8514b48 commit a9ff314

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/views/tenant/standards/ListAppliedStandards.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,13 @@ const ApplyNewStandard = () => {
493493
label={component.label}
494494
/>
495495
)}
496+
{component.type === 'boolean' && (
497+
<RFFCFormSwitch
498+
name={component.name}
499+
label={component.label}
500+
initialValue={component.default}
501+
/>
502+
)}
496503
{component.type === 'AdminRolesMultiSelect' && (
497504
<RFFSelectSearch
498505
multi={true}

0 commit comments

Comments
 (0)