diff options
| author | somebodywashere <68244480+somebodywashere@users.noreply.github.com> | 2024-02-19 17:28:32 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-19 17:28:32 +0300 |
| commit | 7526c4d96979e00bf17c60e23382b84978dfda34 (patch) | |
| tree | 6d51e03b5f2e68cc80b35401fb74250ce09fec09 /web | |
| parent | 766ef54b311ab557630082453fc778a85fd284ff (diff) | |
Fix Enabled/Disabled counter (#1847)
Diffstat (limited to 'web')
| -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 f52f26b7..95c05998 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -651,9 +651,9 @@ clientCount = clients.length; if (dbInbound.enable) { clients.forEach(client => { - if (client.enable && this.isClientOnline(client.email)) { + if (client.enable) { active.push(client.email); - online.push(client.email); + if (this.isClientOnline(client.email)) online.push(client.email); } else { deactive.push(client.email); } |
