mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
feat: move network topology into a first-party plugin
This commit is contained in:
1 parent
e372b0eda7
commit
5fbd5fb7e2
16 files changed
+447
-24
No files matched your search
@@ -43,6 +43,7 @@ const BUILT_IN_TABS_BY_PLUGIN: Record<string, string[]> = {
|
||||
"remote-desktop": ["rdp", "vnc", "telnet"],
|
||||
ai: ["ai"],
|
||||
fleets: ["fleet-inventory"],
|
||||
"network-topology": ["network_graph"],
|
||||
};
|
||||
|
||||
let pluginEnabled = new Map<string, boolean>();
|
||||
|
||||
@@ -134,9 +134,11 @@ const SftpTransferTab = lazy(() =>
|
||||
})),
|
||||
);
|
||||
const NetworkGraphCard = lazy(() =>
|
||||
import("@/dashboard/cards/NetworkGraphCard").then((m) => ({
|
||||
default: m.NetworkGraphCard,
|
||||
})),
|
||||
import("../../../plugins/network-topology/frontend/NetworkGraphCard").then(
|
||||
(m) => ({
|
||||
default: m.NetworkGraphCard,
|
||||
}),
|
||||
),
|
||||
);
|
||||
const Serial = lazy(() =>
|
||||
import("@/features/serial/Serial").then((m) => ({
|
||||
|
||||
Reference in new issue
Block a user