From f932004141dd77caf9b9047e30fb4155b8a692c8 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Tue, 9 Jan 2024 16:44:22 +0330 Subject: [PATCH] fix switchEnable in filter mode Co-Authored-By: Alireza Ahmadi --- 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 8d1da2f4..7c50f48e 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -1036,6 +1036,7 @@ }, switchEnable(dbInboundId) { dbInbound = this.dbInbounds.find(row => row.id === dbInboundId); + dbInbound.enable = !dbInbound.enable; this.submit(`/panel/inbound/update/${dbInboundId}`, dbInbound); }, async switchEnableClient(dbInboundId, client) {