mirror of
https://github.com/funamitech/mastodon
synced 2024-11-24 07:06:34 +09:00
set activation for tag follow button (#21629)
Co-authored-by: meisam <meisam@noreply.codeberg.org>
This commit is contained in:
parent
673c54f114
commit
059d64a59e
@ -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…
Reference in New Issue
Block a user