File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
site/src/components/Resources Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -233,16 +233,12 @@ export const AgentRow: FC<AgentRowProps> = ({
233
233
</ >
234
234
) }
235
235
236
- { showBuiltinApps && (
237
- < >
238
- { agent . display_apps . includes ( "web_terminal" ) && (
239
- < TerminalLink
240
- workspaceName = { workspace . name }
241
- agentName = { agent . name }
242
- userName = { workspace . owner_name }
243
- />
244
- ) }
245
- </ >
236
+ { showBuiltinApps && agent . display_apps . includes ( "web_terminal" ) && (
237
+ < TerminalLink
238
+ workspaceName = { workspace . name }
239
+ agentName = { agent . name }
240
+ userName = { workspace . owner_name }
241
+ />
246
242
) }
247
243
</ section >
248
244
) }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { FC } from "react";
4
4
import * as TypesGen from "api/typesGenerated" ;
5
5
import { generateRandomString } from "utils/random" ;
6
6
import { DisplayAppNameMap } from "../AppLink/AppLink" ;
7
+ import { TerminalIcon } from "components/Icons/TerminalIcon" ;
7
8
8
9
export const Language = {
9
10
terminalTitle : ( identifier : string ) : string => `Terminal - ${ identifier } ` ,
@@ -46,7 +47,9 @@ export const TerminalLink: FC<React.PropsWithChildren<TerminalLinkProps>> = ({
46
47
} }
47
48
data-testid = "terminal"
48
49
>
49
- < AgentButton > { DisplayAppNameMap [ "web_terminal" ] } </ AgentButton >
50
+ < AgentButton startIcon = { < TerminalIcon /> } >
51
+ { DisplayAppNameMap [ "web_terminal" ] }
52
+ </ AgentButton >
50
53
</ Link >
51
54
) ;
52
55
} ;
You can’t perform that action at this time.
0 commit comments