value and status with angle at pools

This commit is contained in:
Luis Fernando Molina committed 2021-07-27 08:36:19 +02:00
1 parent a4ae7189b9
commit 7b24239720
2 files changed
+8

No files matched your search

@@ -175,6 +175,10 @@ function newGovernanceFunctionLibraryTokens() {
}
if (node.payload !== undefined) {
node.payload.uiObject.statusAngleOffset = 0
node.payload.uiObject.statusAtAngle = true
node.payload.uiObject.setStatus(status)
}
}
@@ -447,6 +447,10 @@ function newGovernanceFunctionLibraryVotingProgram() {
}
const votesText = parseFloat(votes.toFixed(0)).toLocaleString('en') + ' ' + voteType
node.payload.uiObject.valueAngleOffset = 0
node.payload.uiObject.valueAtAngle = true
node.payload.uiObject.setValue(votesText)
if (percentage !== undefined) {