From 1e63d0cde04b0bab7cc3ae1aaba3feb08679237d Mon Sep 17 00:00:00 2001 From: chrisnojima Date: Thu, 4 Jun 2026 12:06:43 -0400 Subject: [PATCH] fix(chat): auto-select first conversation on desktop/tablet inbox --- shared/chat/inbox-and-conversation-header.tsx | 6 +++--- shared/chat/inbox-and-conversation-shared.tsx | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/shared/chat/inbox-and-conversation-header.tsx b/shared/chat/inbox-and-conversation-header.tsx index c35a5e7c9ed8..57173a958704 100644 --- a/shared/chat/inbox-and-conversation-header.tsx +++ b/shared/chat/inbox-and-conversation-header.tsx @@ -191,15 +191,15 @@ const Header = () => { const topRow = ( - {channel ? ( + {showActions && channel ? ( {channel} - ) : fullName ? ( + ) : showActions && fullName ? ( {fullName} - ) : withoutSelf ? ( + ) : showActions && withoutSelf ? ( {withoutSelf.map((part, i) => ( diff --git a/shared/chat/inbox-and-conversation-shared.tsx b/shared/chat/inbox-and-conversation-shared.tsx index 1fca9b1872b1..8cfa0f1242bc 100644 --- a/shared/chat/inbox-and-conversation-shared.tsx +++ b/shared/chat/inbox-and-conversation-shared.tsx @@ -36,8 +36,7 @@ export function InboxAndConversationShell(props: Props) { if (validConvoID) { return null } - const first = s.layout?.smallTeams?.[0] - return first?.convID + return s.layout?.smallTeams?.[0]?.convID }) React.useEffect(() => {