Fix grid crash when there are no related rows in a link field

This commit is contained in:
Andrew Kingston 2020-10-13 08:12:03 +01:00
parent 3ba79b0071
commit 72676623b8
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }