refactor: better proxy handling

This commit is contained in:
zhom
2025-08-13 11:19:31 +04:00
parent 59c69c44a1
commit a14da3d2f0
4 changed files with 125 additions and 24 deletions
+2 -2
View File
@@ -132,8 +132,8 @@ export function ProfilesDataTable({
async (profileName: string, proxyId: string | null) => {
try {
await invoke("update_profile_proxy", {
profileName,
proxyId,
profileName: profileName,
proxy_id: proxyId,
});
setProxyOverrides((prev) => ({ ...prev, [profileName]: proxyId }));
} catch (error) {