[Glitch] Profile redesign: Remove hashtags from featured page
Port aef70991f862ab0dfd173b54bb9de8609e6787f3 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
2e47579bd2
commit
6d3cf92a2b
@ -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