We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3674a commit c0607b1Copy full SHA for c0607b1
site/src/modules/resources/AgentDevcontainerCard.tsx
@@ -67,12 +67,10 @@ export const AgentDevcontainerCard: FC<AgentDevcontainerCardProps> = ({
67
const appSections = (subAgent && organizeAgentApps(subAgent.apps)) || [];
68
const displayApps =
69
subAgent?.display_apps.filter((app) => {
70
- switch (true) {
71
- case browser_only:
72
- return ["web_terminal", "port_forwarding_helper"].includes(app);
73
- default:
74
- return true;
+ if (browser_only) {
+ return ["web_terminal", "port_forwarding_helper"].includes(app);
75
}
+ return true;
76
}) || [];
77
const showVSCode =
78
devcontainer.container &&
0 commit comments