diff --git a/Projects/Governance/Icons/User/user-vote-transfer.png b/Projects/Governance/Icons/User/user-profile-vote.png similarity index 100% rename from Projects/Governance/Icons/User/user-vote-transfer.png rename to Projects/Governance/Icons/User/user-profile-vote.png diff --git a/Projects/Governance/UI/Function-Libraries/VotingProgram.js b/Projects/Governance/UI/Function-Libraries/VotingProgram.js index fa8cfb53c..a6c802de7 100644 --- a/Projects/Governance/UI/Function-Libraries/VotingProgram.js +++ b/Projects/Governance/UI/Function-Libraries/VotingProgram.js @@ -337,6 +337,15 @@ function newGovernanceFunctionLibraryVotingProgram() { node.payload.uiObject.setStatus(ownPowerText + ' Voting Power') } + if (node.tokensAwarded !== undefined && node.tokensAwarded.payload !== undefined) { + + const tokensAwardedText = parseFloat(node.payload.votingProgram.awarded.tokens.toFixed(2)).toLocaleString('en') + + node.tokensAwarded.payload.uiObject.valueAngleOffset = 0 + node.tokensAwarded.payload.uiObject.valueAtAngle = false + + node.tokensAwarded.payload.uiObject.setValue(tokensAwardedText + ' SA Tokens') + } } } }