From 420ff16c2b26b8db06bbb8ea6cf4c9f0c87aeb28 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Sun, 17 Jul 2022 23:28:00 +0200 Subject: [PATCH] Make sure "other" is not clickable --- .../nodes-per-country-chart.component.html | 8 ++++---- .../nodes-per-country-chart.component.ts | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.html b/frontend/src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.html index 5c3acec89..f327a7147 100644 --- a/frontend/src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.html +++ b/frontend/src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.html @@ -24,20 +24,20 @@ - + - + - + - +
RankRank Name Nodes Capacity
{{ country.rank }}{{ country.rank }} {{ country.name.en }} {{ country.count }} diff --git a/frontend/src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.ts b/frontend/src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.ts index 7e447933d..df8c661ef 100644 --- a/frontend/src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.ts +++ b/frontend/src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.ts @@ -130,8 +130,9 @@ export class NodesPerCountryChartComponent implements OnInit { formatter: () => { return `${'Other'} (${totalShareOther.toFixed(2)}%)
` + totalNodeOther.toString() + ` nodes`; - } + }, }, + data: 9999 as any } as PieSeriesOption); return data;