From 77bd32a26abbf8b49caf35dcdf170e312e48a277 Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Mon, 3 Apr 2023 16:25:15 +0200 Subject: Add colour to follow button when hashtag is being followed (#24361) --- app/javascript/mastodon/features/hashtag_timeline/index.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/hashtag_timeline/index.jsx b/app/javascript/mastodon/features/hashtag_timeline/index.jsx index 58423f429..a244dbdb2 100644 --- a/app/javascript/mastodon/features/hashtag_timeline/index.jsx +++ b/app/javascript/mastodon/features/hashtag_timeline/index.jsx @@ -191,8 +191,12 @@ class HashtagTimeline extends React.PureComponent { if (tag) { const following = tag.get('following'); + const classes = classNames('column-header__button', { + active: following, + }); + followButton = ( - ); -- cgit