Fix JS error when receiving message in system console (#5019)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
45d18b364b
Коммит
4208e42ba9
@@ -111,7 +111,7 @@ class NotificationStoreClass extends EventEmitter {
|
||||
// the window itself is not active
|
||||
const activeChannel = ChannelStore.getCurrent();
|
||||
const channelId = channel ? channel.id : null;
|
||||
const notify = activeChannel.id !== channelId || !this.inFocus;
|
||||
const notify = (activeChannel && activeChannel.id !== channelId) || !this.inFocus;
|
||||
|
||||
if (notify) {
|
||||
Utils.notifyMe(title, body, channel, teamId, duration, !sound);
|
||||
|
||||
Ссылка в новой задаче
Block a user