mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
Fix Enabled/Disabled counter (#1847)
This commit is contained in:
parent
766ef54b31
commit
7526c4d969
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user