Skip to content

Commit

Permalink
exclude transverse results in topics completion
Browse files Browse the repository at this point in the history
  • Loading branch information
bellangerq committed Sep 18, 2024
1 parent 951fcb9 commit 3a758d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion confiture-web-app/src/pages/audit/AuditGenerationPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ const topics = computed(() => {
// Every results for the current topic
const relevantResults =
resultsStore.allResults?.filter(
(result) => result.topic === topic.number
(result) =>
result.topic === topic.number &&
result.pageId !==
auditStore.currentAudit?.transverseElementsPage.id
) ?? [];
// number of criteria for the topic accross all pages
Expand Down

0 comments on commit 3a758d9

Please sign in to comment.