From e59ffa29e9066361831a04aac30da9044beb5c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E9=9A=A8=E7=B7=A3=E5=8B=95?= Date: Thu, 11 Sep 2025 21:12:32 +0800 Subject: [PATCH] Fix critical bugs in ObjectUtil.equals() and filterInbounds() --- web/html/inbounds.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/web/html/inbounds.html b/web/html/inbounds.html index 243e4aa6..c4ed30db 100644 --- a/web/html/inbounds.html +++ b/web/html/inbounds.html @@ -994,11 +994,13 @@ const list = this.clientCount[inbound.id][this.filterBy]; if (list.length > 0) { const filteredSettings = { "clients": [] }; - inboundSettings.clients.forEach(client => { - if (list.includes(client.email)) { - filteredSettings.clients.push(client); - } - }); + if (inboundSettings.clients) { + inboundSettings.clients.forEach(client => { + if (list.includes(client.email)) { + filteredSettings.clients.push(client); + } + }); + } newInbound.settings = Inbound.Settings.fromJson(inbound.protocol, filteredSettings); this.searchedInbounds.push(newInbound); }