diff --git a/web/components/groups/group-overview.tsx b/web/components/groups/group-overview.tsx index 16fda8d1..4a3b5802 100644 --- a/web/components/groups/group-overview.tsx +++ b/web/components/groups/group-overview.tsx @@ -192,7 +192,9 @@ function GroupOverviewPinned(props: { updateGroup(group, { pinnedItems: newPinned }) } - return isEditable || (group.pinnedItems && group.pinnedItems.length > 0) ? ( + if (!group.pinnedItems || group.pinnedItems.length == 0) return <> + + return isEditable || (group.pinnedItems && group?.pinnedItems.length > 0) ? (