diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2020-01-25 05:23:33 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-01-25 10:36:27 +0100 |
commit | 4e1efacfac29cbd4ba3ff675abaa923bb53fcbc8 (patch) | |
tree | 6b5f1b95e8b8bd9dcdbad167e3f74097a6bea3c6 /app | |
parent | f1e4738f8111a11005b1f00affb6678c16059ee5 (diff) |
[Glitch] Add limit of 8 different reaction types per announcement
Port f816da9c6474ddf437681fbf7f5346672436ccdf to glitch-soc Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/features/getting_started/components/announcements.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/getting_started/components/announcements.js b/app/javascript/flavours/glitch/features/getting_started/components/announcements.js index 52c95441b..71b54b060 100644 --- a/app/javascript/flavours/glitch/features/getting_started/components/announcements.js +++ b/app/javascript/flavours/glitch/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> ); } |