fix(fleet): derive contour status from registered nodes and remove obsolete tabs

This commit is contained in:
DCCONSTRUCTIONS
2026-09-25 22:28:42 +03:00
parent aecae4a986
commit bd5873ef34
7 changed files with 227 additions and 397 deletions
+3 -2
View File
@@ -776,7 +776,8 @@ export default function App() {
{rootWorkspaces.length}{" "}
{rootWorkspaces.length === 1
? "рабочая поверхность"
: "рабочих поверхностей"}
: rootWorkspaces.length >= 2 && rootWorkspaces.length <= 4
? "рабочие поверхности" : "рабочих поверхностей"}
</span>
</>
}
@@ -841,7 +842,7 @@ export default function App() {
laboratoryAnnotation.control
) : activeDefinition.kind === "observatory" ? (
<StatusBadge tone="neutral">Только наблюдение</StatusBadge>
) : activeDefinition.root === "system" ? (
) : activeDefinition.kind === "contour-health" ? null : activeDefinition.root === "system" ? (
<SystemWorkspaceSelector
value={activeDefinition.id}
onChange={openNavigationView}