diff --git a/packages/standard-components/src/DataGrid/customRenderer.js b/packages/standard-components/src/DataGrid/customRenderer.js index 0fe60e0673..5d47343846 100644 --- a/packages/standard-components/src/DataGrid/customRenderer.js +++ b/packages/standard-components/src/DataGrid/customRenderer.js @@ -110,7 +110,7 @@ function linkedRecordRenderer(constraints, editable) { container.style.placeItems = "center" container.style.height = "100%" - container.innerText = params.value.length || 0 + container.innerText = params.value ? params.value.length : 0 return container }