Merge pull request #2685 from nextcloud/enh/moveCardDialog

show all boards in move card dialog
This commit is contained in:
Julius Härtl
2021-01-02 18:30:48 +01:00
committed by GitHub

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)
}, },