Skip to content

Commit

Permalink
fix switchEnable in filter mode
Browse files Browse the repository at this point in the history
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
  • Loading branch information
MHSanaei and alireza0 committed Jan 9, 2024
1 parent 4bb31b0 commit f8fccc0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/html/xui/inbounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f8fccc0

Please sign in to comment.