mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2026-04-14 16:40:29 +08:00
fix: guard against undefined proxy in group.all filter
This commit is contained in:
parent
33a6e4517e
commit
c35d150157
@ -161,6 +161,7 @@ const Proxies: React.FC = () => {
|
||||
groups.forEach((group, index) => {
|
||||
if (isOpen[index]) {
|
||||
const filtered = group.all.filter((proxy) => {
|
||||
if (!proxy) return false
|
||||
if (!includesIgnoreCase(proxy.name, searchValue[index])) {
|
||||
return false
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user