diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-10-20 11:32:20 -0400 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2016-10-20 12:32:20 -0300 |
commit | 4aa96c76b4662d6d7f9a28af0b719404c31bbb45 (patch) | |
tree | bc8f8ccc2ba7674e7377c9fe963386d0ca9b94df /webapp/components/suggestion/channel_mention_provider.jsx | |
parent | 4688d4981a2b9f190b94c0932e8c12e15fd98ebe (diff) | |
download | chat-4aa96c76b4662d6d7f9a28af0b719404c31bbb45.tar.gz chat-4aa96c76b4662d6d7f9a28af0b719404c31bbb45.tar.bz2 chat-4aa96c76b4662d6d7f9a28af0b719404c31bbb45.zip |
Fix autocomplete for old mechanisms and add partial fix for channel switcher (#4279)
Diffstat (limited to 'webapp/components/suggestion/channel_mention_provider.jsx')
-rw-r--r-- | webapp/components/suggestion/channel_mention_provider.jsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/components/suggestion/channel_mention_provider.jsx b/webapp/components/suggestion/channel_mention_provider.jsx index 17dbb6e48..0058bcc73 100644 --- a/webapp/components/suggestion/channel_mention_provider.jsx +++ b/webapp/components/suggestion/channel_mention_provider.jsx @@ -124,6 +124,7 @@ export default class ChannelMentionProvider { const mentions = wrapped.map((item) => '!' + item.channel.name); + SuggestionStore.clearSuggestions(suggestionId); SuggestionStore.addSuggestions(suggestionId, mentions, wrapped, ChannelMentionSuggestion, captured[2]); } } |