Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
This commit is contained in:
Jakob Röhrl
2020-12-30 11:20:54 +01:00
parent 7d88535771
commit a214b5d195
2 changed files with 2 additions and 6 deletions

View File

@@ -65,7 +65,7 @@
</Actions> </Actions>
<template> <template>
<div class="filter" v-if="filterVisible"> <div v-if="filterVisible" class="filter">
<h3>{{ t('deck', 'Filter by tag') }}</h3> <h3>{{ t('deck', 'Filter by tag') }}</h3>
<div v-for="label in labelsSorted" :key="label.id" class="filter--item"> <div v-for="label in labelsSorted" :key="label.id" class="filter--item">
<input <input

View File

@@ -107,6 +107,7 @@ export default {
computed: { computed: {
...mapGetters([ ...mapGetters([
'isArchived', 'isArchived',
'boards',
]), ]),
...mapState({ ...mapState({
showArchived: state => state.showArchived, showArchived: state => state.showArchived,
@@ -125,11 +126,6 @@ export default {
} }
return true return true
}, },
boards() {
return this.$store.getters.boards.filter(board => {
return board.id !== this.currentBoard.id
})
},
isCurrentUserAssigned() { isCurrentUserAssigned() {
return this.card.assignedUsers.find((item) => item.type === 0 && item.participant.uid === getCurrentUser()?.uid) return this.card.assignedUsers.find((item) => item.type === 0 && item.participant.uid === getCurrentUser()?.uid)
}, },