diff --git a/web/src/lib/api.ts b/web/src/lib/api.ts index 9a728a97f..18562d02e 100644 --- a/web/src/lib/api.ts +++ b/web/src/lib/api.ts @@ -426,3 +426,4 @@ export interface OAuthPollResponse { error_message?: string | null; expires_at?: number | null; } + diff --git a/web/src/pages/StatusPage.tsx b/web/src/pages/StatusPage.tsx index d457cabc9..1d7936958 100644 --- a/web/src/pages/StatusPage.tsx +++ b/web/src/pages/StatusPage.tsx @@ -223,16 +223,13 @@ export default function StatusPage() { {restartState === "running" ? t.status.restarting : t.status.restartGateway} - {restartDetail && ( + {(restartDetail || restartState === "success") && (

{restartState === "failure" && } {restartState === "success" ? t.status.restartSuccess : restartState === "failure" ? t.status.restartFailed : ""} {restartDetail && ` — ${restartDetail}`}

)} - {restartState === "success" && !restartDetail && ( -

{t.status.restartSuccess}

- )} {/* Update Hermes */}