Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitef5330b

Browse files
committed
hide AgentExternal if feature is disabled
1 parent5fe436d commitef5330b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎site/src/modules/resources/AgentRow.tsx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const AgentRow: FC<AgentRowProps> = ({
5959
onUpdateAgent,
6060
initialMetadata,
6161
})=>{
62-
const{ browser_only}=useFeatureVisibility();
62+
const{ browser_only, workspace_external_agent}=useFeatureVisibility();
6363
constappSections=organizeAgentApps(agent.apps);
6464
consthasAppsToDisplay=
6565
!browser_only||appSections.some((it)=>it.apps.length>0);
@@ -296,7 +296,8 @@ export const AgentRow: FC<AgentRowProps> = ({
296296
)}
297297

298298
{isExternalAgent&&
299-
(agent.status==="timeout"||agent.status==="connecting")&&(
299+
(agent.status==="timeout"||agent.status==="connecting")&&
300+
workspace_external_agent&&(
300301
<AgentExternal
301302
isExternalAgent={isExternalAgent}
302303
agent={agent}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp