diff --git a/web/chat/chat-thread-list-item.react.js b/web/chat/chat-thread-list-item.react.js --- a/web/chat/chat-thread-list-item.react.js +++ b/web/chat/chat-thread-list-item.react.js @@ -89,12 +89,13 @@ [color], ); - const sidebars = item.sidebars.map(sidebarItem => { + const sidebars = item.sidebars.map((sidebarItem, index) => { if (sidebarItem.type === 'sidebar') { const { type, ...sidebarInfo } = sidebarItem; return ( 0} key={sidebarInfo.threadInfo.id} /> ); diff --git a/web/chat/chat-thread-list-sidebar.react.js b/web/chat/chat-thread-list-sidebar.react.js --- a/web/chat/chat-thread-list-sidebar.react.js +++ b/web/chat/chat-thread-list-sidebar.react.js @@ -15,9 +15,10 @@ type Props = { +sidebarInfo: SidebarInfo, + +isMultipleSidebarItem: boolean, }; function ChatThreadListSidebar(props: Props): React.Node { - const { sidebarInfo } = props; + const { sidebarInfo, isMultipleSidebarItem } = props; const { threadInfo, mostRecentNonLocalMessage } = sidebarInfo; const { currentUser: { unread }, @@ -39,7 +40,10 @@ onClick={onClick} >
{unreadDot}
- + + {extendArrow ?
: null}