Skip to content

Commit 1ad2b71

Browse files
authored
CellBooleanformatter fix
Cellbooleanformatter was not treating disabled as false
1 parent bb28a63 commit 1ad2b71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/tables/CellBoolean.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ export default function CellBoolean({
5252
cell.toLowerCase() === 'fail' ||
5353
cell.toLowerCase() === 'default' ||
5454
cell.toLowerCase() === 'false' ||
55-
cell.toLowerCase() === 'noncompliant'
55+
cell.toLowerCase() === 'noncompliant' ||
56+
cell.toLowerCase() === 'disabled'
5657
) {
5758
normalized = false
5859
}

0 commit comments

Comments
 (0)