mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-19 07:15:48 +00:00
[bug] fix remained traffic display #622
This commit is contained in:
@@ -1112,7 +1112,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