refactor(HEL-752): remove unused locals while preserving evaluation and props
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -62,10 +62,6 @@
|
||||
(j) => j.kind === "image" || j.kind === "video",
|
||||
),
|
||||
);
|
||||
const activeJobs = $derived(
|
||||
genJobs.filter((j) => j.status === "pending" || j.status === "running")
|
||||
.length,
|
||||
);
|
||||
|
||||
// The ACTIVE ComfyUI connection (HEL-611). Its status dot comes from a
|
||||
// real server-side probe (GET /system_stats from the workbench server,
|
||||
@@ -115,11 +111,6 @@
|
||||
return $probeQuery.data?.ok ? "ok" : "fail";
|
||||
});
|
||||
const endpointName = $derived(activeEndpoint?.name?.trim() || "ComfyUI");
|
||||
const latencyMs = $derived(
|
||||
probeState === "ok" && $probeQuery.data?.elapsed_ms != null
|
||||
? Math.round($probeQuery.data.elapsed_ms)
|
||||
: null,
|
||||
);
|
||||
const connDetail = $derived.by(() => {
|
||||
if (probeState === "unset") return t("shell.comfyUnset");
|
||||
const state = t(`shell.comfy_${probeState}`, { name: endpointName });
|
||||
|
||||
Reference in New Issue
Block a user