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/html
diff options
context:
space:
mode:
Diffstat (limited to 'web/html')
-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);
}