updated kpi & check token

This commit is contained in:
Warunee Tamkoo 2024-08-15 14:30:52 +07:00
parent 4d8acb49a3
commit c7d672aeda
8 changed files with 110 additions and 35 deletions

View file

@ -182,7 +182,10 @@ function getData(type: string) {
} else {
store.competencyScoreVal =
weightAvg != 0
? (resultAvg / weightAvg) * store.competencyScore
? (resultAvg / weightAvg) *
(store.dataProfile.isProbation
? store.competencyProbationScore
: store.competencyScore)
: 0;
}
}