From 404de01f6343c0f1c431e3e604ec1635962a15fb Mon Sep 17 00:00:00 2001 From: BrunoQuaresma Date: Thu, 27 Jul 2023 11:58:23 +0000 Subject: [PATCH] feat(site): add restart button when workspace is unhealthy --- site/src/components/Workspace/Workspace.tsx | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/site/src/components/Workspace/Workspace.tsx b/site/src/components/Workspace/Workspace.tsx index bfa4d8bbb97d5..6b2f97848f29a 100644 --- a/site/src/components/Workspace/Workspace.tsx +++ b/site/src/components/Workspace/Workspace.tsx @@ -220,7 +220,20 @@ export const Workspace: FC> = ({ {cancellationError} {workspace.latest_build.status === "running" && !workspace.health.healthy && ( - + { + handleRestart() + }} + > + Restart + + } + > Workspace is unhealthy Your workspace is running but{" "} pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy