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 ae63877d67
commit d7ab7c6ec9
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.height = "100%"
container.innerText = params.value.length || 0
container.innerText = params.value ? params.value.length : 0
return container
}