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);
}