We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19415b9 commit 4a6b733Copy full SHA for 4a6b733
packages/coreui-react/src/components/table/CTable.tsx
@@ -201,7 +201,7 @@ export const CTable = forwardRef<HTMLTableElement, CTableProps>(
201
<CTableRow {...(item._props && { ...item._props })} key={index}>
202
{columnNames &&
203
columnNames.map((colName: string, index: number) => {
204
- return item[colName] ? (
+ return item[colName] !== undefined && item[colName] !== null ? (
205
<CTableDataCell
206
{...(item._cellProps && {
207
...(item._cellProps['all'] && { ...item._cellProps['all'] }),
0 commit comments