Skip to content

Commit 58aac15

Browse files
committed
update client version
1 parent 2ec973c commit 58aac15

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/tdb-react-components/src/table/CellRenderer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,10 @@ export const HTMLRenderer = ({value, type, column, row, cell, view, args, prefix
377377
}
378378

379379
function isEmptyValue(val){
380+
if(!val)return false
380381
if(val == "system:unknown") return true
381382
if(val === "") return true
382-
if(val && typeof val == "object" && val['@value'] === "") return true
383+
if(typeof val == "object" && val['@value'] === "") return true
383384
if(Array.isArray(val) && val.length == 0) return true
384385
if(Array.isArray(val) && val.length == 1 && isEmptyValue(val[1])) return true
385386
return false

0 commit comments

Comments
 (0)