Update global_actions.jsx (#5938)
Clicking @ should append @[username] to the search
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
59185babdc
Коммит
0b55dc133b
@@ -525,7 +525,7 @@ export function clientLogout(redirectTo = '/') {
|
||||
|
||||
export function emitSearchMentionsEvent(user) {
|
||||
let terms = '';
|
||||
if (user.notify_props && user.notify_props.mention_keys) {
|
||||
if (user.notify_props) {
|
||||
const termKeys = UserStore.getMentionKeys(user.id);
|
||||
|
||||
if (termKeys.indexOf('@channel') !== -1) {
|
||||
|
||||
Ссылка в новой задаче
Block a user