Fix grid crash when there are no related rows in a link field
This commit is contained in:
parent
3ba79b0071
commit
72676623b8
|
@ -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