Deep Scan Bug Fixes
This commit is contained in:
1 parent
babc2e0a42
commit
c6f34e97e1
4 files changed
+7
-7
No files matched your search
@@ -326,7 +326,7 @@ function newGovernanceFunctionLibraryClaimsProgram() {
|
||||
if (childNode.type === "Tokens Awarded") { continue }
|
||||
|
||||
let percentage = UI.projects.visualScripting.utilities.nodeConfig.loadConfigProperty(childNode.payload, 'percentage')
|
||||
if (percentage !== undefined && isNaN(percentage > 0) && percentage !== true) {
|
||||
if (percentage !== undefined && isNaN(percentage) && percentage > 0 !== true) {
|
||||
totalPercentage = totalPercentage + percentage
|
||||
} else {
|
||||
totalNodesWithoutPercentage++
|
||||
@@ -342,7 +342,7 @@ function newGovernanceFunctionLibraryClaimsProgram() {
|
||||
if (childNode.type === "Tokens Awarded") { continue }
|
||||
|
||||
let percentage = UI.projects.visualScripting.utilities.nodeConfig.loadConfigProperty(childNode.payload, 'percentage')
|
||||
if (percentage !== undefined && isNaN(percentage > 0) && percentage !== true) {
|
||||
if (percentage !== undefined && isNaN(percentage) && percentage > 0 !== true) {
|
||||
totalPercentage = totalPercentage + percentage
|
||||
} else {
|
||||
totalNodesWithoutPercentage++
|
||||
|
||||
Reference in new issue
Block a user