mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-28 10:33:07 -05:00
[Glitch] set activation for tag follow button
Port 059d64a59ea27c40ca6b5b9bf34487169d2a741f to glitch-soc Co-authored-by: meisam <meisam@noreply.codeberg.org> Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
602f18103c
commit
7883ba34bb
@ -194,7 +194,7 @@ class HashtagTimeline extends React.PureComponent {
|
||||
const following = tag.get('following');
|
||||
|
||||
followButton = (
|
||||
<button className={classNames('column-header__button')} onClick={this.handleFollow} disabled={!signedIn} title={intl.formatMessage(following ? messages.unfollowHashtag : messages.followHashtag)} aria-label={intl.formatMessage(following ? messages.unfollowHashtag : messages.followHashtag)}>
|
||||
<button className={classNames('column-header__button')} onClick={this.handleFollow} disabled={!signedIn} active={following} title={intl.formatMessage(following ? messages.unfollowHashtag : messages.followHashtag)} aria-label={intl.formatMessage(following ? messages.unfollowHashtag : messages.followHashtag)}>
|
||||
<Icon id={following ? 'user-times' : 'user-plus'} fixedWidth className='column-header__icon' />
|
||||
</button>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user