File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
site/src/modules/resources Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export const AgentRow: FC<AgentRowProps> = ({
59
59
onUpdateAgent,
60
60
initialMetadata,
61
61
} ) => {
62
- const { browser_only } = useFeatureVisibility ( ) ;
62
+ const { browser_only, workspace_external_agent } = useFeatureVisibility ( ) ;
63
63
const appSections = organizeAgentApps ( agent . apps ) ;
64
64
const hasAppsToDisplay =
65
65
! browser_only || appSections . some ( ( it ) => it . apps . length > 0 ) ;
@@ -296,7 +296,8 @@ export const AgentRow: FC<AgentRowProps> = ({
296
296
) }
297
297
298
298
{ isExternalAgent &&
299
- ( agent . status === "timeout" || agent . status === "connecting" ) && (
299
+ ( agent . status === "timeout" || agent . status === "connecting" ) &&
300
+ workspace_external_agent && (
300
301
< AgentExternal
301
302
isExternalAgent = { isExternalAgent }
302
303
agent = { agent }
You can’t perform that action at this time.
0 commit comments