Skip to content

Commit

Permalink
Add pocket filter
Browse files Browse the repository at this point in the history
  • Loading branch information
omar-selo committed Jan 17, 2025
1 parent 17791b4 commit 6bdd5ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/lib/models/filters.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ final emptyDebFilters = Filters<Artefact>(
_artefactStatusFilter,
_artefactDueDateFilter,
_artefactSeriesFilter,
_artefactPocketFilter,
],
);

Expand Down Expand Up @@ -202,3 +203,8 @@ Filter<Artefact> _artefactOwnerFilter = Filter<Artefact>(
name: 'Owner',
extractOption: (artefact) => artefact.owner,
);

Filter<Artefact> _artefactPocketFilter = Filter<Artefact>(
name: 'Pocket',
extractOption: (artefact) => artefact.stage.name,
);

0 comments on commit 6bdd5ff

Please sign in to comment.