diff --git a/Projects/Governance/UI/Spaces/Reports-Space/UserProfiles.js b/Projects/Governance/UI/Spaces/Reports-Space/UserProfiles.js index 29ef1bc84..5e068f487 100644 --- a/Projects/Governance/UI/Spaces/Reports-Space/UserProfiles.js +++ b/Projects/Governance/UI/Spaces/Reports-Space/UserProfiles.js @@ -46,7 +46,7 @@ function newGovernanceReportsUserProfiles() { "type": "number", "order": "descending", "textAlign": "center", - "format": "2 decimals" + "format": "integer" }, { "name": "delegatedPower", @@ -54,7 +54,7 @@ function newGovernanceReportsUserProfiles() { "type": "number", "order": "descending", "textAlign": "center", - "format": "2 decimals" + "format": "integer" }, { "name": "tokenPower", @@ -62,7 +62,7 @@ function newGovernanceReportsUserProfiles() { "type": "number", "order": "descending", "textAlign": "center", - "format": "2 decimals" + "format": "integer" } ] } diff --git a/Projects/Governance/UI/Spaces/Reports-Space/Votes.js b/Projects/Governance/UI/Spaces/Reports-Space/Votes.js index 7693ff819..c8764b62f 100644 --- a/Projects/Governance/UI/Spaces/Reports-Space/Votes.js +++ b/Projects/Governance/UI/Spaces/Reports-Space/Votes.js @@ -101,6 +101,7 @@ function newGovernanceReportsVotes() { if (program === undefined) { continue } if (program.payload === undefined) { continue } if (program.payload[programPropertyName] === undefined) { continue } + if (program.payload[programPropertyName].bonus === undefined) { continue } let tableRecord = { "name": userProfile.name, diff --git a/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js b/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js index 915e96603..63d2c0d1c 100644 --- a/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js +++ b/Projects/Governance/UI/Spaces/User-Profile-Space/UserProfile.js @@ -70,7 +70,7 @@ function newGovernanceUserProfileSpace() { /* Here we will setup the Reputation for each profile. */ - timer = timer + 15000 + timer = timer + 10000 waitingForResponses++ getTreasuryAccountTransactions() diff --git a/Projects/Governance/UI/Utilities/Conversions.js b/Projects/Governance/UI/Utilities/Conversions.js index 526df9122..140f26654 100644 --- a/Projects/Governance/UI/Utilities/Conversions.js +++ b/Projects/Governance/UI/Utilities/Conversions.js @@ -6,7 +6,7 @@ function newGovernanceUtilitiesConversions () { return thisObject function estimateSATokensInBTC(SATokens) { - const SA_BTC_BASELINE_EXCHANGE_RATE = 1.5 / 1000000 + const SA_BTC_BASELINE_EXCHANGE_RATE = 1.0 / 1000000 const BTC = SATokens * SA_BTC_BASELINE_EXCHANGE_RATE return BTC.toFixed(3) diff --git a/Projects/Governance/UI/Utilities/Tables.js b/Projects/Governance/UI/Utilities/Tables.js index e4ad3d1e5..beec28abe 100644 --- a/Projects/Governance/UI/Utilities/Tables.js +++ b/Projects/Governance/UI/Utilities/Tables.js @@ -141,11 +141,11 @@ function newGovernanceUtilitiesTables() { break } case 'integer': { - value = parseFloat(value | 0).toLocaleString('en') + value = parseFloat(parseFloat(value | 0).toFixed(0)).toLocaleString('en') break } case '2 decimals': { - value = parseFloat(value | 2).toLocaleString('en') + value = parseFloat(parseFloat(value | 0).toFixed(2)).toLocaleString('en') break } case 'percentage': {