refactor(platform): bound lab canon and contour identity

This commit is contained in:
DCCONSTRUCTIONS
2026-08-05 12:00:27 +03:00
parent de12e96297
commit 6d0abbc569
10 changed files with 199 additions and 8 deletions
@@ -478,7 +478,7 @@ export function ComputeContourSettingsWindow({
<dd>{network?.broker.bind_address ?? "—"}</dd>
</div>
<div>
<dt>Worker 006</dt>
<dt>{contour?.display_name ?? "Worker"}</dt>
<dd>{network?.worker.reachable
? `${network.worker.mqtt_host ?? "—"}:${network.worker.mqtt_port ?? "—"}`
: "Недоступен"}</dd>
@@ -28,7 +28,7 @@ export function useComputeContourSettings(): ComputeContourSettingsController {
{
label: "Обновить телеметрию выбранного контура",
icon: "refresh",
disabled: contours.selectedContour?.contour_id !== "worker-006",
disabled: contours.selectedContour === null,
onClick: contours.refreshTelemetry,
},
{