mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:43:44 +08:00
fix: profiles will not be selected after import
This commit is contained in:
parent
6efc518eed
commit
5c9bf30c79
@ -137,7 +137,7 @@ const ProfilePage = () => {
|
||||
mutate("getProfiles", newProfiles);
|
||||
|
||||
const remoteItem = newProfiles.items?.find((e) => e.type === "remote");
|
||||
if (!newProfiles.current && remoteItem) {
|
||||
if (newProfiles.current && remoteItem) {
|
||||
const current = remoteItem.uid;
|
||||
await patchProfiles({ current });
|
||||
mutateLogs();
|
||||
|
Loading…
x
Reference in New Issue
Block a user