perf: select proxy (#5284)

* perf: improve select proxy for group

* chore: update
This commit is contained in:
oomeow
2025-11-02 22:33:50 +08:00
committed by GitHub
Unverified
parent 36d1a3878f
commit d4cb16f4ff
3 changed files with 9 additions and 7 deletions

View File

@@ -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();
}
}
};