MM-27132 Fix groups not actually being highlighted for self on mobile (#4776)
This commit is contained in:
parent
ef583d4fb6
commit
b8a002683f
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