Panel DADs: ajout onglets 'à voter' et 'votés'

This commit is contained in:
wpetit 2020-09-10 19:26:41 +02:00
parent 6845e1ce50
commit 596108b4f4
1 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,14 @@ export function DecisionSupportFilePanel() {
label: 'Brouillons',
itemFilter: (item: Item) => (item as DecisionSupportFile).status === DecisionSupportFileStatus.Draft
},
{
label: 'À voter',
itemFilter: (item: Item) => (item as DecisionSupportFile).status === DecisionSupportFileStatus.Ready
},
{
label: 'Votés',
itemFilter: (item: Item) => (item as DecisionSupportFile).status === DecisionSupportFileStatus.Voted
},
{
label: 'Clos',
itemFilter: (item: Item) => (item as DecisionSupportFile).status === DecisionSupportFileStatus.Closed