Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorsomebodywashere <68244480+somebodywashere@users.noreply.github.com>2024-02-19 17:28:32 +0300
committerGitHub <noreply@github.com>2024-02-19 17:28:32 +0300
commit7526c4d96979e00bf17c60e23382b84978dfda34 (patch)
tree6d51e03b5f2e68cc80b35401fb74250ce09fec09 /web
parent766ef54b311ab557630082453fc778a85fd284ff (diff)
Fix Enabled/Disabled counter (#1847)
Diffstat (limited to 'web')
-rw-r--r--web/html/xui/inbounds.html4
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);
}