fix: Account for createdBy, updatedBy being undefined. closes #6578
This commit is contained in:
@@ -81,7 +81,7 @@ export const OtherAccess = observer(({ document, children }: Props) => {
|
||||
<>
|
||||
<StyledListItem
|
||||
image={<Avatar model={document.createdBy} showBorder={false} />}
|
||||
title={document.createdBy.name}
|
||||
title={document.createdBy?.name}
|
||||
actions={
|
||||
<AccessTooltip content={t("Created the document")}>
|
||||
{t("Can edit")}
|
||||
|
||||
Reference in New Issue
Block a user