mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
Fix Enabled/Disabled counter (#1847)
This commit is contained in:
parent
766ef54b31
commit
7526c4d969
1 changed files with 2 additions and 2 deletions
|
@ -651,9 +651,9 @@
|
||||||
clientCount = clients.length;
|
clientCount = clients.length;
|
||||||
if (dbInbound.enable) {
|
if (dbInbound.enable) {
|
||||||
clients.forEach(client => {
|
clients.forEach(client => {
|
||||||
if (client.enable && this.isClientOnline(client.email)) {
|
if (client.enable) {
|
||||||
active.push(client.email);
|
active.push(client.email);
|
||||||
online.push(client.email);
|
if (this.isClientOnline(client.email)) online.push(client.email);
|
||||||
} else {
|
} else {
|
||||||
deactive.push(client.email);
|
deactive.push(client.email);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue