simplified logic avoid filtering for unassigned and assigned at the same time

Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
This commit is contained in:
Jakob Röhrl
2020-07-16 10:31:07 +02:00
parent de0145c3f5
commit 2b3a8cfaf6
2 changed files with 5 additions and 9 deletions

View File

@@ -260,6 +260,9 @@ export default {
}
},
setFilter() {
if (this.filter.users.length > 0) {
this.filter.unassigned = false
}
this.$nextTick(() => this.$store.dispatch('setFilter', { ...this.filter }))
},
toggleNav() {