From babe3e8788ad9d4fd82acee306a078bd2d4d8b50 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Fri, 5 Jan 2024 02:40:43 +0100 Subject: [PATCH] fix switchEnable in filter mode #827 --- web/html/xui/inbounds.html | 1 + 1 file changed, 1 insertion(+) diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 3ccfa5b2..d1d2619e 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -1032,6 +1032,7 @@ }, switchEnable(dbInboundId) { dbInbound = this.dbInbounds.find(row => row.id === dbInboundId); + dbInbound.enable = !dbInbound.enable; this.submit(`/xui/inbound/update/${dbInboundId}`, dbInbound); }, async switchEnableClient(dbInboundId, client) {