Browse Source

[Glitch] Add limit of 8 different reaction types per announcement

Port f816da9c64 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
closed-social-glitch-2
Eugen Rochko 4 years ago
committed by Thibaut Girka
parent
commit
4e1efacfac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/features/getting_started/components/announcements.js

+ 1
- 1
app/javascript/flavours/glitch/features/getting_started/components/announcements.js View File

@ -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>
);
}

Loading…
Cancel
Save