소스 검색

fix switchEnable in filter mode

Co-Authored-By: Alireza Ahmadi <[email protected]>
MHSanaei 1 년 전
부모
커밋
f8fccc057b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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) {