Skip to content

Commit

Permalink
Merge pull request #3199 from threefoldtech/development_stats_map_cou…
Browse files Browse the repository at this point in the history
…ntries
  • Loading branch information
maayarosama authored Aug 4, 2024
2 parents 52361a0 + d1acbe8 commit 9233a6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/playground/src/views/stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ function mergeNodeDistribution(stats: Stats["nodesDistribution"][]) {
stats.forEach(country => {
res[key] += country[key] ?? 0;
});
if (key === "The Netherlands" && res["The Netherlands"]) {
res["Netherlands"] = res["The Netherlands"];
delete res["The Netherlands"];
}
return res;
}, {} as { [key: string]: number });
}
Expand Down

0 comments on commit 9233a6b

Please sign in to comment.