diff --git a/frontend/src/OspfToolsPage.jsx b/frontend/src/OspfToolsPage.jsx index b6948ae..458dc3c 100644 --- a/frontend/src/OspfToolsPage.jsx +++ b/frontend/src/OspfToolsPage.jsx @@ -171,6 +171,7 @@ export default function OspfToolsPage() { .sort((a, b) => a.area.localeCompare(b.area)), })); }, [templates, servers]); + const routerColumnClass = groupedByRouter.length > 1 ? 'col-12 col-xxl-6' : 'col-12'; const loadServers = async () => { try { @@ -333,7 +334,7 @@ export default function OspfToolsPage() { ) : (
{item.interfaceName}
-
- {item.active ? 'Активен' : 'Неактивен'}
-
- {hint && (
-
- opt cost {hint.optimalCost}
+ {item.interfaceName}
+
+ {item.active ? 'Активен' : 'Неактивен'}
- )}
+