Skip to content

Commit

Permalink
Updated filterin g and sorting items in inprogress items tab, #513
Browse files Browse the repository at this point in the history
  • Loading branch information
forough-jalili committed Jun 10, 2019
1 parent dcc0c1e commit 765bc5a
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions src/components/InProgressItems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,26 +192,26 @@ export default {
{
label: 'Name',
className: 'name',
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'title',
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'issueTitle',
isFilteringActive: null,
field: 'title',
field: 'issueTitle',
filteringItems: null
},
{
label: 'Tempo',
className: 'tempo',
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'boarding',
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'issueBoarding',
isFilteringActive: null,
field: 'boarding',
filteringItems: this.itemBoardings
field: 'issueBoarding',
filteringItems: this.issueBoarding
},
{
label: 'Type',
className: 'type',
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'kind',
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'issueKind',
isFilteringActive: null,
field: 'kind',
filteringItems: this.itemKinds
field: 'issueKind',
filteringItems: this.issueKind
},
{
label: 'Time Card',
Expand Down Expand Up @@ -248,9 +248,9 @@ export default {
{
label: 'Project',
className: 'project',
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'project',
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'projectTitle',
isFilteringActive: null,
field: 'project',
field: 'projectTitle',
filteringItems: null
},
{
Expand All @@ -259,7 +259,7 @@ export default {
isSortingActive: this.inProgressNuggetsSortCriteria.field === 'priority',
isFilteringActive: null,
field: 'priority',
filteringItems: this.itemPriorities
filteringItems: null
},
{
label: 'Phase',
Expand All @@ -278,9 +278,8 @@ export default {
'phases',
'inProgressNuggetsSortCriteria',
'inProgressNuggetsFilters',
'itemBoardings',
'itemKinds',
'itemPriorities'
'issueBoarding',
'issueKind'
])
},
watch: {
Expand Down

0 comments on commit 765bc5a

Please sign in to comment.