Fix members presenter (#3385)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov 2023-06-07 20:03:42 +06:00 committed by GitHub
parent 66e1dd20ad
commit 8ccb61ab64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}>