[Glitch] Fix collections not shown on profile when there are no featured tags or accounts

Port 7d58ce309c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion
2026-03-10 11:02:03 +01:00
committed by Claire
parent 7e57d00af6
commit 19a8c80762

View File

@@ -103,7 +103,11 @@ const AccountFeatured: React.FC<{ multiColumn: boolean }> = ({
); );
} }
if (featuredTags.isEmpty() && featuredAccountIds.isEmpty()) { if (
featuredTags.isEmpty() &&
featuredAccountIds.isEmpty() &&
listedCollections.length === 0
) {
return ( return (
<AccountFeaturedWrapper accountId={accountId}> <AccountFeaturedWrapper accountId={accountId}>
<EmptyMessage <EmptyMessage