diff --git a/composables/useData.ts b/composables/useData.ts index 484383e..5bc5c36 100644 --- a/composables/useData.ts +++ b/composables/useData.ts @@ -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