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