fix: In-app document mention notifications do not link to correct doc

This commit is contained in:
Tom Moor
2023-09-07 22:17:55 -04:00
parent 127115272a
commit bb555de1ba
2 changed files with 25 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ function NotificationListItem({ notification, onNavigate }: Props) {
};
return (
<Link to={notification.path} onClick={handleClick}>
<Link to={notification.path ?? ""} onClick={handleClick}>
<Container gap={8} $unread={!notification.viewedAt}>
<StyledAvatar model={notification.actor} size={AvatarSize.Large} />
<Flex column>