diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-19 11:25:38 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-19 11:25:38 +0300 |
| commit | e1132a3f416eb0a894fd2dc9aaf9e29c0d93098f (patch) | |
| tree | 60939cef5248d6d30cdf622b7481764db25d5240 /web/html | |
| parent | 4d479102ad8ecf309ec340f9e0778f1231788185 (diff) | |
bug fix
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html')
| -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) { |
