mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 11:11:11 +02:00
Fix collections not shown on profile when there are no featured tags or accounts (#38113)
This commit is contained in:
@@ -103,7 +103,11 @@ const AccountFeatured: React.FC<{ multiColumn: boolean }> = ({
|
||||
);
|
||||
}
|
||||
|
||||
if (featuredTags.isEmpty() && featuredAccountIds.isEmpty()) {
|
||||
if (
|
||||
featuredTags.isEmpty() &&
|
||||
featuredAccountIds.isEmpty() &&
|
||||
listedCollections.length === 0
|
||||
) {
|
||||
return (
|
||||
<AccountFeaturedWrapper accountId={accountId}>
|
||||
<EmptyMessage
|
||||
|
||||
Reference in New Issue
Block a user