Skip to content

Commit

Permalink
Updated validation
Browse files Browse the repository at this point in the history
  • Loading branch information
sorina-ocheana committed Jun 28, 2024
1 parent 52838a3 commit 9efeaca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class ModusTableCellMain {
const { row, getValue } = this.cell;
const cellValue = getValue();

if (cellValue !== null && cellValue !== undefined) return null;
if (cellValue === null || cellValue === undefined) return null;

const { cellLinkClick, wrapText } = this.context;
const cellDataType = cellValue['_type'] ?? this.cell.column.columnDef[COLUMN_DEF_DATATYPE_KEY];
Expand Down

0 comments on commit 9efeaca

Please sign in to comment.