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" "https://explorer.threefold.io/api/stats"
); );
let farms = getFarms.data.length; 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( this.stats.push(
{ farms: farms }, { farms: farms },
{ "HDD PB": hru }, { "Storage TB": hru },
{ countries: results.data.countries } { "Compute Cores": cru}
); );
} catch (error) { } catch (error) {
console.log(error); console.log(error);