Fix: Threads button is highlighted when I create a new room (#10819)
* fix thread button highlight logic * lint
This commit is contained in:
parent
81a23accd0
commit
727c885687
2 changed files with 3 additions and 1 deletions
|
@ -301,7 +301,7 @@ export default class RoomHeaderButtons extends HeaderButtons<IProps> {
|
|||
title={_t("Threads")}
|
||||
onClick={this.onThreadsPanelClicked}
|
||||
isHighlighted={this.isPhase(RoomHeaderButtons.THREAD_PHASES)}
|
||||
isUnread={this.state.threadNotificationColor > 0}
|
||||
isUnread={this.state.threadNotificationColor > NotificationColor.None}
|
||||
>
|
||||
<UnreadIndicator color={this.state.threadNotificationColor} />
|
||||
</HeaderButton>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue