mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-22 08:35:18 +08:00
[bug] fix remained traffic display
Co-Authored-By: Alireza Ahmadi <[email protected]>
This commit is contained in:
co-authored by
Alireza Ahmadi
parent
375814da27
commit
fcacada1bf
@@ -1109,7 +1109,7 @@
|
||||
if (email.length == 0) return 0;
|
||||
clientStats = dbInbound.clientStats.find(stats => stats.email === email);
|
||||
if (!clientStats) return 0;
|
||||
remained = clientStats.totalGB - (clientStats.up + clientStats.down);
|
||||
remained = clientStats.total - (clientStats.up + clientStats.down);
|
||||
return remained>0 ? remained : 0;
|
||||
},
|
||||
clientStatsColor(dbInbound, email) {
|
||||
|
||||
Reference in New Issue
Block a user