File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
site/src/modules/workspaces/WorkspaceMoreActions Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import {
19
19
EllipsisVertical ,
20
20
HistoryIcon ,
21
21
SettingsIcon ,
22
+ SquareCheckBigIcon ,
22
23
TrashIcon ,
23
24
} from "lucide-react" ;
24
25
import { type FC , useEffect , useState } from "react" ;
@@ -126,6 +127,17 @@ export const WorkspaceMoreActions: FC<WorkspaceMoreActionsProps> = ({
126
127
Download logs…
127
128
</ DropdownMenuItem >
128
129
130
+ { workspace . latest_build . has_ai_task && (
131
+ < DropdownMenuItem asChild >
132
+ < RouterLink
133
+ to = { `/tasks/${ workspace . owner_name } /${ workspace . name } ` }
134
+ >
135
+ < SquareCheckBigIcon />
136
+ See task
137
+ </ RouterLink >
138
+ </ DropdownMenuItem >
139
+ ) }
140
+
129
141
< DropdownMenuSeparator />
130
142
131
143
< DropdownMenuItem
You can’t perform that action at this time.
0 commit comments