perf: select proxy (#5284)
* perf: improve select proxy for group * chore: update
This commit is contained in:
committed by
GitHub
Unverified
parent
36d1a3878f
commit
d4cb16f4ff
@@ -62,7 +62,9 @@ export const useProfiles = () => {
|
||||
const patchCurrent = async (value: Partial<IProfileItem>) => {
|
||||
if (profiles?.current) {
|
||||
await patchProfile(profiles.current, value);
|
||||
mutateProfiles();
|
||||
if (!value.selected) {
|
||||
mutateProfiles();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user