about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-01-25 05:23:33 +0100
committerGitHub <noreply@github.com>2020-01-25 05:23:33 +0100
commitf816da9c6474ddf437681fbf7f5346672436ccdf (patch)
tree3daa9835201189d85f4717827a5147a0624a05e7 /app/javascript
parent76f1ed834efd3b58b6ebc8e951b661bbc1b7bf9b (diff)
Add limit of 8 different reaction types per announcement (#12950)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/getting_started/components/announcements.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/getting_started/components/announcements.js b/app/javascript/mastodon/features/getting_started/components/announcements.js
index 18b1de127..975db0265 100644
--- a/app/javascript/mastodon/features/getting_started/components/announcements.js
+++ b/app/javascript/mastodon/features/getting_started/components/announcements.js
@@ -265,7 +265,7 @@ class ReactionsBar extends ImmutablePureComponent {
           />
         ))}
 
-        <EmojiPickerDropdown onPickEmoji={this.handleEmojiPick} button={<Icon id='plus' />} />
+        {visibleReactions.size < 8 && <EmojiPickerDropdown onPickEmoji={this.handleEmojiPick} button={<Icon id='plus' />} />}
       </div>
     );
   }