Forks Info Implementation working

This commit is contained in:
Luis Fernando Molina committed 2021-07-27 21:31:41 +02:00
1 parent 1c00fd4351
commit 34670b98a6
3 files changed
+179 -232

No files matched your search

@@ -200,13 +200,13 @@ function newGovernanceFunctionLibraryGithubProgram() {
let extraText = ''
if (node.payload.githubProgram.hasStar === true) {
extraText = extraText + ' 1 Star'
extraText = extraText + ' + 1 Star'
}
if (node.payload.githubProgram.hasWatch === true) {
extraText = extraText + ' 1 Watch'
extraText = extraText + ' + 1 Watch'
}
if (node.payload.githubProgram.hasWatch === true) {
extraText = extraText + ' 1 Fork'
if (node.payload.githubProgram.hasFork === true) {
extraText = extraText + ' + 1 Fork'
}
node.tokensAwarded.payload.uiObject.setStatus('From' + extraText)