mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
perf: 优化全局规则禁用条件
This commit is contained in:
@@ -63,7 +63,7 @@ function filterAppsByGroup(apps: any[], groupNamePrefix: string): string[] {
|
|||||||
(a) =>
|
(a) =>
|
||||||
a.groups.filter((g: { name: string }) =>
|
a.groups.filter((g: { name: string }) =>
|
||||||
g.name.startsWith(groupNamePrefix),
|
g.name.startsWith(groupNamePrefix),
|
||||||
).length === 1,
|
).length > 0,
|
||||||
)
|
)
|
||||||
.map((a) => a.id);
|
.map((a) => a.id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user