Merge pull request #635 from hmhealey/plt159
PLT-159/MM-2074 Changed unread posts indicator to not be shown for the current channel
Этот коммит содержится в:
@@ -315,10 +315,12 @@ export default class Sidebar extends React.Component {
|
|||||||
if (unread) {
|
if (unread) {
|
||||||
titleClass = 'unread-title';
|
titleClass = 'unread-title';
|
||||||
|
|
||||||
if (!this.firstUnreadChannel) {
|
if (channel.id !== activeId) {
|
||||||
this.firstUnreadChannel = channel.name;
|
if (!this.firstUnreadChannel) {
|
||||||
|
this.firstUnreadChannel = channel.name;
|
||||||
|
}
|
||||||
|
this.lastUnreadChannel = channel.name;
|
||||||
}
|
}
|
||||||
this.lastUnreadChannel = channel.name;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var badge = null;
|
var badge = null;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user