mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(site): hide agents desktop tab when workspace is stopped (#24191)
Hide the agents desktop tab when the workspace tab is stopped. This matches the terminal tab's behavior.
This commit is contained in:
@@ -489,7 +489,9 @@ export const AgentChatPageView: FC<AgentChatPageViewProps> = ({
|
||||
isSidebarCollapsed={isSidebarCollapsed}
|
||||
onToggleSidebarCollapsed={onToggleSidebarCollapsed}
|
||||
chatTitle={chatTitle}
|
||||
desktopChatId={desktopChatId}
|
||||
desktopChatId={
|
||||
workspace && workspaceAgent ? desktopChatId : undefined
|
||||
}
|
||||
/>
|
||||
</RightPanel>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user