mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
Merge pull request #46 from web3privacy/dk/compliance-invert-logic
fix: ranking positive compliance value
This commit is contained in:
commit
04a8eaf2f9
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ export const useData = defineStore('data', () => {
|
|||
isValid = value ? true : false
|
||||
}
|
||||
if (ref.field === 'compliance') {
|
||||
negative = value
|
||||
positive = value
|
||||
}
|
||||
|
||||
rankPoints += isValid ? ref.points : 0
|
||||
|
|
Loading…
Reference in a new issue