From 9efeacaf5513910f4b9375e64f91a925f6ed47e2 Mon Sep 17 00:00:00 2001 From: Sorina-Andreea Ocheana Date: Fri, 28 Jun 2024 10:37:46 +0300 Subject: [PATCH] Updated validation --- .../parts/cell/modus-table-cell-main/modus-table-cell-main.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stencil-workspace/src/components/modus-table/parts/cell/modus-table-cell-main/modus-table-cell-main.tsx b/stencil-workspace/src/components/modus-table/parts/cell/modus-table-cell-main/modus-table-cell-main.tsx index 5f7bcd18e..722d54ade 100644 --- a/stencil-workspace/src/components/modus-table/parts/cell/modus-table-cell-main/modus-table-cell-main.tsx +++ b/stencil-workspace/src/components/modus-table/parts/cell/modus-table-cell-main/modus-table-cell-main.tsx @@ -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];