Fix traffic charts. Add chart vars

Add UI_TRAFFIC_STATS, UI_CHART_TYPE
This commit is contained in:
Sergei Birukov 2024-03-13 12:15:50 +03:00 committed by Philip H
parent ed0e46788a
commit aedb691b2b
6 changed files with 113 additions and 21 deletions

View file

@ -50,6 +50,13 @@ class API {
});
}
async getChartType() {
return this.call({
method: 'get',
path: '/ui-chart-type',
});
}
async getSession() {
return this.call({
method: 'get',