1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-02 16:58:53 +09:00

[Glitch] Fix number of uses being shown again on trending hashtags in web UI

Port 923f06a07c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Eugen Rochko 2022-10-28 12:56:51 +02:00 committed by Claire
parent 2cb3dd9364
commit 9f6c175550
2 changed files with 1 additions and 3 deletions

View File

@ -56,7 +56,6 @@ export const ImmutableHashtag = ({ hashtag }) => (
href={hashtag.get('url')}
to={`/tags/${hashtag.get('name')}`}
people={hashtag.getIn(['history', 0, 'accounts']) * 1 + hashtag.getIn(['history', 1, 'accounts']) * 1}
uses={hashtag.getIn(['history', 0, 'uses']) * 1 + hashtag.getIn(['history', 1, 'uses']) * 1}
history={hashtag.get('history').reverse().map((day) => day.get('uses')).toArray()}
/>
);

View File

@ -128,6 +128,7 @@
align-items: center;
padding: 15px;
border-bottom: 1px solid lighten($ui-base-color, 8%);
gap: 15px;
&:last-child {
border-bottom: 0;
@ -169,8 +170,6 @@
font-size: 24px;
font-weight: 500;
text-align: right;
padding-right: 15px;
margin-left: 5px;
color: $secondary-text-color;
text-decoration: none;
}