Merge pull request #1207 from Luis-Fernando-Molina/develop

Contribution: icon changed
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-06-23 11:57:46 -04:00
commit 2aac12ab24
2 files changed
+9

No files matched your search

File renamed without changes.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

@@ -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')
}
}
}
}