File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
site/src/components/Resources Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { AppPreview } from "./AppLink/AppPreview";
6
6
import { BaseIcon } from "./AppLink/BaseIcon" ;
7
7
import { VSCodeIcon } from "components/Icons/VSCodeIcon" ;
8
8
import { DisplayAppNameMap } from "./AppLink/AppLink" ;
9
+ import { TerminalIcon } from "components/Icons/TerminalIcon" ;
9
10
10
11
interface AgentRowPreviewStyles {
11
12
// Helpful when there are more than one row so the values are aligned
@@ -101,14 +102,9 @@ export const AgentRowPreview: FC<AgentRowPreviewProps> = ({
101
102
{ /* Additionally, we display any apps that are visible, e.g.
102
103
apps that are included in agent.display_apps */ }
103
104
{ agent . display_apps . includes ( "web_terminal" ) && (
104
- < AppPreview > { DisplayAppNameMap [ "web_terminal" ] } </ AppPreview >
105
- ) }
106
- { agent . display_apps . includes ( "ssh_helper" ) && (
107
- < AppPreview > { DisplayAppNameMap [ "ssh_helper" ] } </ AppPreview >
108
- ) }
109
- { agent . display_apps . includes ( "port_forwarding_helper" ) && (
110
105
< AppPreview >
111
- { DisplayAppNameMap [ "port_forwarding_helper" ] }
106
+ < TerminalIcon sx = { { width : 12 , height : 12 } } />
107
+ { DisplayAppNameMap [ "web_terminal" ] }
112
108
</ AppPreview >
113
109
) }
114
110
{ /* VSCode display apps (vscode, vscode_insiders) get special presentation */ }
You can’t perform that action at this time.
0 commit comments