Browse Source

Update documentation

pull/403/head
Thomas 4 years ago
parent
commit
6a8ec8f285
  1. 2
      apps/client/src/app/components/world-map-chart/world-map-chart.component.ts

2
apps/client/src/app/components/world-map-chart/world-map-chart.component.ts

@ -43,7 +43,7 @@ export class WorldMapChartComponent implements OnChanges, OnDestroy, OnInit {
private initialize() { private initialize() {
if (this.isInPercent) { if (this.isInPercent) {
// Convert countries value to percentage // Convert value of countries to percentage
let sum = 0; let sum = 0;
Object.keys(this.countries).map((country) => { Object.keys(this.countries).map((country) => {
sum += this.countries[country].value; sum += this.countries[country].value;

Loading…
Cancel
Save