Fix grid crash when there are no related rows in a link field
This commit is contained in:
parent
ae63877d67
commit
d7ab7c6ec9
|
@ -110,7 +110,7 @@ function linkedRecordRenderer(constraints, editable) {
|
||||||
container.style.placeItems = "center"
|
container.style.placeItems = "center"
|
||||||
container.style.height = "100%"
|
container.style.height = "100%"
|
||||||
|
|
||||||
container.innerText = params.value.length || 0
|
container.innerText = params.value ? params.value.length : 0
|
||||||
|
|
||||||
return container
|
return container
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue