From d29cf8a044f6c0d004649223e018d240983e8437 Mon Sep 17 00:00:00 2001 From: Christian Schmidt Date: Mon, 3 Apr 2023 16:25:15 +0200 Subject: [Glitch] Add colour to follow button when hashtag is being followed Port 77bd32a26abbf8b49caf35dcdf170e312e48a277 to glitch-soc Signed-off-by: Claire --- app/javascript/flavours/glitch/features/hashtag_timeline/index.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/javascript/flavours/glitch/features/hashtag_timeline/index.jsx b/app/javascript/flavours/glitch/features/hashtag_timeline/index.jsx index 43b7f90d1..fe5afa240 100644 --- a/app/javascript/flavours/glitch/features/hashtag_timeline/index.jsx +++ b/app/javascript/flavours/glitch/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