From 3f44f0b7539acd1e1a42f10bf3c49231f1a8c168 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 21 Dec 2025 12:31:56 +0100 Subject: [PATCH] ui: simplify dashboard health status --- ui/src/ui/app-render.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ui/src/ui/app-render.ts b/ui/src/ui/app-render.ts index 918f6894d..e761a50f3 100644 --- a/ui/src/ui/app-render.ts +++ b/ui/src/ui/app-render.ts @@ -131,7 +131,6 @@ export type AppViewState = { }; export function renderApp(state: AppViewState) { - const proto = state.settings.gatewayUrl.startsWith("wss://") ? "wss" : "ws"; const presenceCount = state.presenceEntries.length; const sessionsCount = state.sessionsResult?.count ?? null; const cronNext = state.cronStatus?.nextWakeAtMs ?? null; @@ -146,13 +145,9 @@ export function renderApp(state: AppViewState) {
- ${proto} - ${state.settings.gatewayUrl} + Health + ${state.connected ? "OK" : "Offline"}
- -