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 f54d385 commit e85b88cCopy full SHA for e85b88c
site/src/components/Workspace/Workspace.tsx
@@ -220,7 +220,20 @@ export const Workspace: FC<React.PropsWithChildren<WorkspaceProps>> = ({
220
{cancellationError}
221
{workspace.latest_build.status === "running" &&
222
!workspace.health.healthy && (
223
- <Alert severity="warning">
+ <Alert
224
+ severity="warning"
225
+ actions={
226
+ <Button
227
+ variant="text"
228
+ size="small"
229
+ onClick={() => {
230
+ handleRestart()
231
+ }}
232
+ >
233
+ Restart
234
+ </Button>
235
+ }
236
237
<AlertTitle>Workspace is unhealthy</AlertTitle>
238
<AlertDetail>
239
Your workspace is running but{" "}
0 commit comments