fix: cleanup files

This commit is contained in:
LukeGus
2025-12-19 21:11:15 -06:00
parent ab3d4c6abb
commit 1f0df349c7
4 changed files with 56 additions and 32 deletions

View File

@@ -869,15 +869,6 @@ export function HostManagerEditor({
const submitData: Partial<SSHHost> = {
...data,
};
if (proxyMode === "single") {
submitData.socks5ProxyChain = [];
} else if (proxyMode === "chain") {
submitData.socks5Host = "";
submitData.socks5Port = 1080;
submitData.socks5Username = "";
submitData.socks5Password = "";
}
if (data.authType !== "credential") {
submitData.credentialId = undefined;