fix switchEnable in filter mode #827

This commit is contained in:
Alireza Ahmadi
2024-01-05 02:40:43 +01:00
parent 6a39ee037d
commit babe3e8788

View File

@@ -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) {