Skip to content

Commit

Permalink
Added perspective filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
maryayi committed Jul 29, 2019
1 parent b9850f0 commit 0bd342d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/CompletedDoneItems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ export default {
{
label: 'Status',
className: 'status',
isSortingActive: null,
isFilteringActive: this.completedDoneSortCriteria.field === 'status',
isSortingActive: this.completedDoneSortCriteria.field === 'status',
isFilteringActive: null,
field: 'status',
filteringItems: null,
sortCriteria: 'status'
Expand Down
5 changes: 3 additions & 2 deletions src/components/InProgressItems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export default {
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'perspective',
isFilteringActive: null,
field: 'perspective',
filteringItems: null,
filteringItems: this.perspectives,
sortCriteria: 'perspective'
},
Expand Down Expand Up @@ -312,7 +312,8 @@ export default {
'itemBoardings',
'itemKinds',
'itemPriorities',
'allProjects'
'allProjects',
'perspectives'
])
},
watch: {
Expand Down
1 change: 1 addition & 0 deletions src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ function initialState () {
itemBoardings: ['on-time', 'delayed', 'at-risk', 'frozen'],
itemKinds: ['bug', 'feature'],
itemPriorities: ['low', 'normal', 'high'],
perspectives: ['due', 'overdue', 'submitted'],

// WEBSOCKET ENTITIES

Expand Down

0 comments on commit 0bd342d

Please sign in to comment.