diff --git a/apps/desktop/src/app/chat/sidebar/index.tsx b/apps/desktop/src/app/chat/sidebar/index.tsx index 657d682a74..8533b47fc5 100644 --- a/apps/desktop/src/app/chat/sidebar/index.tsx +++ b/apps/desktop/src/app/chat/sidebar/index.tsx @@ -1686,62 +1686,62 @@ export function ChatSidebar({ )} {inProject && enteredProject ? ( -
- {enteredProject.path && } - {/* Home has no folder and no record to rename, theme, or delete. */} - {!enteredProject.isNoProject && ( - - )} -
- - - +
+ {enteredProject.path && } + {/* Home has no folder and no record to rename, theme, or delete. */} + {!enteredProject.isNoProject && ( + + )} +
+ + + +
-
- ) : ( -
- {!showAllProfiles ? ( - - - - ) : null} -
- + if (agentsGrouped) { + openProjectCreate() + } else { + onNewSessionInWorkspace(null) + } + }} + size="icon-xs" + variant="ghost" + > + + + + ) : null} +
+ +
-
- )} + )} } label={sessionsLabel} diff --git a/apps/desktop/src/store/session-unread.ts b/apps/desktop/src/store/session-unread.ts index 76e29c6490..b6afadace0 100644 --- a/apps/desktop/src/store/session-unread.ts +++ b/apps/desktop/src/store/session-unread.ts @@ -224,7 +224,6 @@ export function markSessionUnreadFinished(storedSessionId: string): void { /** ACK — the user opened (or is looking at) this session: watermark := its * current message_count, and any explicit marker is retired. */ function ackSessionRow(row: SessionInfo): void { - const profile = profileKeyForRow(row) const durableId = sessionPinId(row)