Skip to content

Commit

Permalink
Arrondi à l'inférieur la complétion des thématiques (#882)
Browse files Browse the repository at this point in the history
* use math floor instead of math round to avoid 100% but not completed topics

* update changelog
  • Loading branch information
bellangerq authored Nov 21, 2024
1 parent f33682a commit 00018f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Tous les changements notables de Ara sont documentés ici avec leur date, leur catégorie (nouvelle fonctionnalité, correction de bug ou autre changement) et leur pull request (PR) associée.

## 21/11/2024

### Corrections 🐛

- Corrige un mauvais calcul d’arrondi sur la complétion des thématiques de l’audit ([#882](https://github.com/DISIC/Ara/pull/882))

## 20/11/2024

### Corrections 🐛
Expand Down
2 changes: 1 addition & 1 deletion confiture-web-app/src/pages/audit/AuditGenerationPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const topics = computed(() => {
return {
title: topic.topic,
number: topic.number,
value: Math.round((testedCount / relevantCount) * 100)
value: Math.floor((testedCount / relevantCount) * 100)
};
})
);
Expand Down

0 comments on commit 00018f6

Please sign in to comment.