Profile redesign: Remove hashtags from featured page (#38363)
This commit is contained in:
parent
000199f003
commit
aef70991f8
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user