diff --git a/frontend/app/pages/mandates/index.vue b/frontend/app/pages/mandates/index.vue index affb139..dbc748c 100644 --- a/frontend/app/pages/mandates/index.vue +++ b/frontend/app/pages/mandates/index.vue @@ -66,7 +66,7 @@ const filteredMandates = computed(() => { // Filter by status group if (activeStatus.value && statusGroupMap[activeStatus.value]) { - const allowedStatuses = statusGroupMap[activeStatus.value] + const allowedStatuses = statusGroupMap[activeStatus.value]! list = list.filter(m => allowedStatuses.includes(m.status)) } @@ -95,6 +95,8 @@ const filteredMandates = computed(() => { const typeLabel = (mandateType: string) => { switch (mandateType) { + case 'statutory': return 'Statutaire' + case 'functional': return 'Fonctionnel' case 'techcomm': return 'Comité technique' case 'smith': return 'Forgeron' case 'custom': return 'Personnalisé' diff --git a/frontend/app/pages/mandates/new.vue b/frontend/app/pages/mandates/new.vue index 062977d..e2f46ed 100644 --- a/frontend/app/pages/mandates/new.vue +++ b/frontend/app/pages/mandates/new.vue @@ -1,71 +1,27 @@