@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user