mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
add clientStats to view
This commit is contained in:
@@ -115,6 +115,17 @@
|
||||
isExpiry(index) {
|
||||
return this.inbound.isExpiry(index)
|
||||
},
|
||||
getUpStats(email) {
|
||||
console.log(email,this.inbound.clientStats[email])
|
||||
if(this.inbound.clientStats[email])
|
||||
return this.inbound.clientStats[email]["Up"]
|
||||
|
||||
},
|
||||
getDownStats(email) {
|
||||
if(this.inbound.clientStats[email])
|
||||
return this.inbound.clientStats[email]["Down"]
|
||||
},
|
||||
|
||||
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user