Skip to content
Snippets Groups Projects
Unverified Commit 835dba07 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12177 from KDSBrowne/bbb-7746

fix: Fix Active Style For Current Chat
parents ea4e5d10 9943011e
No related branches found
No related tags found
No related merge requests found
......@@ -82,10 +82,9 @@ const ChatListItem = (props) => {
chatPanelOpen,
} = props;
const isCurrentChat = chat.userId === activeChatId && chatPanelOpen;
const isCurrentChat = chat.chatId === activeChatId && chatPanelOpen;
const linkClasses = {};
linkClasses[styles.active] = isCurrentChat;
const [stateUreadCount, setStateUreadCount] = useState(0);
......
......@@ -101,5 +101,4 @@
.active {
background-color: var(--list-item-bg-hover);
box-shadow: inset 0 0 0 var(--border-size) var(--item-focus-border), inset 1px 0 0 1px var(--item-focus-border);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment