Add ISP chart in the dashboard - Fix mobile layout - Start polishing

This commit is contained in:
nymkappa
2022-08-11 10:19:13 +02:00
parent 7fecea9cca
commit 1d71e26a12
14 changed files with 292 additions and 54 deletions

View File

@@ -168,7 +168,7 @@ class NodesApi {
}
}
public async $getNodesISP(groupBy: string, showTor: boolean) {
public async $getNodesISPRanking(groupBy: string, showTor: boolean) {
try {
const orderBy = groupBy === 'capacity' ? `CAST(SUM(capacity) as INT)` : `COUNT(DISTINCT nodes.public_key)`;