mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 12:08:32 +08:00
fix: profiles will not be selected after import
This commit is contained in:
1 parent
6efc518eed
commit
5c9bf30c79
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user