From 8a61a2b359e28b3feee5963ac8b896f48afc460d Mon Sep 17 00:00:00 2001 From: nntrivi2001 Date: Fri, 14 Aug 2026 11:42:32 +0700 Subject: [PATCH] fix: restore live/offline indicator dropped during Header extraction The wsConnected prop was destructured but unused. This restores the live/offline status pill next to the page title, matching the original Header function design and consuming the prop properly. --- client/src/components/run/LaneConsolePane.tsx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/client/src/components/run/LaneConsolePane.tsx b/client/src/components/run/LaneConsolePane.tsx index ee91eef..d034531 100644 --- a/client/src/components/run/LaneConsolePane.tsx +++ b/client/src/components/run/LaneConsolePane.tsx @@ -54,6 +54,7 @@ export function LaneConsolePane({ }: LaneConsolePaneProps) { const { t } = useTranslation("run"); const { t: tLanes } = useTranslation("lanes"); + const { t: tCommon } = useTranslation("common"); const [prompt, setPrompt] = useState(""); const [model, setModel] = useState(""); @@ -303,7 +304,20 @@ export function LaneConsolePane({
-

{t("title")}

+
+

{t("title")}

+ {wsConnected ? ( + + + {tCommon("live")} + + ) : ( + + + {tCommon("offline")} + + )} +

{t("subtitle")}