mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
fix an auto-complete bug for mentions
This commit is contained in:
@@ -204,7 +204,7 @@ module.exports = React.createClass({
|
||||
|
||||
// If there is a space after the last @, nothing to do.
|
||||
if (lastSpace > atIndex || lastCharSpace > atIndex) {
|
||||
this.setState({ mentionText: '-1' });
|
||||
this.updateMentionTab('-1', null);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user