Profile redesign: Remove hashtags from featured page (#38363)

This commit is contained in:
Echo 2026-03-24 14:10:27 +01:00 committed by GitHub
parent 000199f003
commit aef70991f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,8 +111,11 @@ const AccountFeatured: React.FC<{ multiColumn: boolean }> = ({
); );
} }
const noTags =
featuredTags.isEmpty() || isServerFeatureEnabled('profile_redesign');
if ( if (
featuredTags.isEmpty() && noTags &&
featuredAccountIds.isEmpty() && featuredAccountIds.isEmpty() &&
listedCollections.length === 0 listedCollections.length === 0
) { ) {
@ -158,7 +161,7 @@ const AccountFeatured: React.FC<{ multiColumn: boolean }> = ({
</ItemList> </ItemList>
</> </>
)} )}
{!featuredTags.isEmpty() && ( {!noTags && (
<> <>
<h4 className='column-subheading'> <h4 className='column-subheading'>
<FormattedMessage <FormattedMessage