1
0
Fork 0
mirror of synced 2024-07-07 23:35:49 +12:00

fixing optional chaining operator in standard components

This commit is contained in:
Martin McKeaveney 2020-10-08 20:31:13 +01:00
parent 0e22a21303
commit 8dd32c6f6b

View file

@ -35,7 +35,7 @@
} }
function getPrettyName(record) { function getPrettyName(record) {
return record[linkedModel?.primaryDisplay || "_id"] return record[(linkedModel && linkedModel.primaryDisplay) || "_id"]
} }
</script> </script>