This commit is contained in:
2021-07-12 08:00:58 +00:00
parent 751cbf1d08
commit ec26e788af
3 changed files with 4 additions and 3 deletions

View File

@@ -93,11 +93,12 @@ export default {
"https://explorer.threefold.io/api/stats"
);
let farms = getFarms.data.length;
let hru = (results.data.hru / 1000000).toFixed();
let hru = (results.data.hru / 1000).toFixed();
let cru = (results.data.cru ).toFixed();
this.stats.push(
{ farms: farms },
{ "HDD PB": hru },
{ countries: results.data.countries }
{ "Storage TB": hru },
{ "Compute Cores": cru}
);
} catch (error) {
console.log(error);