diff options
Diffstat (limited to 'web/html/xui')
| -rw-r--r-- | web/html/xui/inbounds.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 15782b1d..5bfcaccd 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -658,8 +658,8 @@ inbound = dbInbound.toInbound(); clients = this.getClients(dbInbound.protocol, inbound.settings); index = this.findIndexOfClient(clients, client); - clients[index].enable = ! clients[index].enable - await this.updateClient(inbound, dbInbound, index); + clients[index].enable = !clients[index].enable; + await this.updateClient(clients[index],dbInboundId, index); this.loading(false); }, async submit(url, data) { |
