(cherry picked from commit b8a002683f)
Co-authored-by: Farhan Munshi <3207297+fmunshi@users.noreply.github.com>
This commit is contained in:
parent
937209c6d7
commit
22dfaf1e0f
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ export default class AtMention extends React.PureComponent {
|
|||
} else {
|
||||
const group = this.getGroupFromMentionName();
|
||||
if (group.allow_reference) {
|
||||
highlighted = mentionKeys.some((item) => item.key === group.name);
|
||||
highlighted = mentionKeys.some((item) => item.key === `@${group.name}`);
|
||||
isMention = true;
|
||||
mention = group.name;
|
||||
suffix = this.props.mentionName.substring(group.name.length);
|
||||
|
|
|
|||
Loading…
Reference in a new issue