fixing optional chaining operator in standard components
This commit is contained in:
parent
f3d0104f41
commit
f595392843
|
@ -35,7 +35,7 @@
|
|||
}
|
||||
|
||||
function getPrettyName(record) {
|
||||
return record[linkedModel?.primaryDisplay || "_id"]
|
||||
return record[(linkedModel && linkedModel.primaryDisplay) || "_id"]
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in New Issue