Add UI_DETAILED_STATS variable
Show detailed RX / TX stats when UI_DETAILED_STATS = true Add api method to get UI_DETAILED_STATS value on frontend
This commit is contained in:
@@ -43,6 +43,13 @@ class API {
|
||||
});
|
||||
}
|
||||
|
||||
async getUiDetailedStats() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
path: '/ui-detailed-stats',
|
||||
});
|
||||
}
|
||||
|
||||
async getSession() {
|
||||
return this.call({
|
||||
method: 'get',
|
||||
|
||||
Reference in New Issue
Block a user