fix: ranking positive compliance value

This commit is contained in:
Daniel Klein 2024-09-26 12:44:59 +02:00
parent 5ed800eac3
commit a6ad0a3cfd

View file

@ -265,7 +265,7 @@ export const useData = defineStore('data', () => {
isValid = value ? true : false isValid = value ? true : false
} }
if (ref.field === 'compliance') { if (ref.field === 'compliance') {
negative = value positive = value
} }
rankPoints += isValid ? ref.points : 0 rankPoints += isValid ? ref.points : 0