mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 14:06:00 +03:00
Fix members presenter (#3385)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
parent
66e1dd20ad
commit
8ccb61ab64
@ -24,7 +24,8 @@
|
||||
export let inline: boolean = false
|
||||
export let accent: boolean = false
|
||||
|
||||
const contactRef = getClient().findOne(contact.class.Contact, { _id: value.contact })
|
||||
const contactRef =
|
||||
value?.contact !== undefined ? getClient().findOne(contact.class.Contact, { _id: value.contact }) : undefined
|
||||
</script>
|
||||
|
||||
<DocNavLink object={value} {inline} {disabled} {accent} noUnderline={disabled}>
|
||||
|
Loading…
Reference in New Issue
Block a user