diff --git a/src/components/Grid/booleanColumn.tsx b/src/components/Grid/booleanColumn.tsx index 341852ad8..4dba6cafd 100644 --- a/src/components/Grid/booleanColumn.tsx +++ b/src/components/Grid/booleanColumn.tsx @@ -1,3 +1,4 @@ +import { Check as CheckIcon, Close as CloseIcon } from '@mui/icons-material'; import { GridColDef } from '@mui/x-data-grid'; import { GridFilterInputBoolean } from './GridFilterInputBoolean'; @@ -21,4 +22,10 @@ export const booleanColumn = () => InputComponent: GridFilterInputBoolean, }, ], + renderCell: ({ value }) => + value ? ( + + ) : value === false ? ( + + ) : null, } satisfies Partial);