Explorar o código

fix switchEnable in filter mode

Co-Authored-By: Alireza Ahmadi <[email protected]>
MHSanaei hai 1 ano
pai
achega
f8fccc057b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      web/html/xui/inbounds.html

+ 1 - 0
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) {