Skip to content

Commit

Permalink
filter documents in project pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Corentin Domas committed May 14, 2024
1 parent 72091e4 commit e644396
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/modules/projectsModule/ProjectDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
<CardContent class="flex flex-row flex-wrap">
<DocumentCard
class="flex-1"
v-for="doc in extDocs"
v-for="doc in extDocs.filter(
(document) => document.acronym === infos_project?.acronym
)"
:infos="doc"
:key="doc.documentId"
></DocumentCard>
Expand Down

0 comments on commit e644396

Please sign in to comment.