mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-10-13 03:07:10 +02:00
refactor: better proxy handling
This commit is contained in:
1 parent
59c69c44a1
commit
a14da3d2f0
4 files changed
+125
-24
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user