Fixed issue with missing help text for @all and @channel in mention list
Этот коммит содержится в:
@@ -217,12 +217,17 @@ export default class MentionList extends React.Component {
|
|||||||
if (this.state.selectedMention === index) {
|
if (this.state.selectedMention === index) {
|
||||||
isFocused = 'mentions-focus';
|
isFocused = 'mentions-focus';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!users[i].secondary_text) {
|
||||||
|
users[i].secondary_text = Utils.getFullName(users[i]);
|
||||||
|
}
|
||||||
|
|
||||||
mentions[index] = (
|
mentions[index] = (
|
||||||
<Mention
|
<Mention
|
||||||
key={'mention_key_' + index}
|
key={'mention_key_' + index}
|
||||||
ref={'mention' + index}
|
ref={'mention' + index}
|
||||||
username={users[i].username}
|
username={users[i].username}
|
||||||
secondary_text={Utils.getFullName(users[i])}
|
secondary_text={users[i].secondary_text}
|
||||||
id={users[i].id}
|
id={users[i].id}
|
||||||
listId={index}
|
listId={index}
|
||||||
isFocused={isFocused}
|
isFocused={isFocused}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user