diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-01-09 16:14:22 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2024-01-09 16:14:22 +0300 |
| commit | f8fccc057ba6a28b60fc07f78e7f2140bf742cdf (patch) | |
| tree | 77899b49bf2d9db7d096a85d67ae543a59bbef92 | |
| parent | 4bb31b0af470ec5c377d1c51d85c853500d9130a (diff) | |
fix switchEnable in filter mode
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
| -rw-r--r-- | web/html/xui/inbounds.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 8d1da2f4..7c50f48e 100644 --- a/web/html/xui/inbounds.html +++ b/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) { |
