feat: load plugin frontends at runtime and remove plugin ids from the shell

This commit is contained in:
LukeGus committed 2026-09-22 20:15:52 -05:00
1 parent 49f0286a14
commit e88d5a52e3
721 files changed
+54265 -44416

No files matched your search

+4 -8
View File
@@ -405,14 +405,10 @@ export function AdminUserManagePanel({
if (editor) {
const isHost = editor.kind === "host";
const tabs = isHost
? makeHostTabs(t).filter((tab) => {
if (tab.id === "general") return true;
if (tab.id === "ssh") return editorProtocols.enableSsh;
if (tab.id === "rdp") return editorProtocols.enableRdp;
if (tab.id === "vnc") return editorProtocols.enableVnc;
if (tab.id === "telnet") return editorProtocols.enableTelnet;
return false;
})
? makeHostTabs(
t,
editorProtocols as unknown as Record<string, boolean>,
).filter((tab) => tab.id !== "ssh" || editorProtocols.enableSsh)
: makeCredentialTabs(t);
return (