mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-18 14:23:36 +00: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 inline: boolean = false
|
||||||
export let accent: 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>
|
</script>
|
||||||
|
|
||||||
<DocNavLink object={value} {inline} {disabled} {accent} noUnderline={disabled}>
|
<DocNavLink object={value} {inline} {disabled} {accent} noUnderline={disabled}>
|
||||||
|
Loading…
Reference in New Issue
Block a user