fix(fleet): derive contour status from registered nodes and remove obsolete tabs
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user