fix: guard against undefined proxy in group.all filter

This commit is contained in:
Memory 2026-02-25 19:21:39 +08:00 committed by GitHub
parent 33a6e4517e
commit c35d150157
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}