Merge pull request #3525 from nextcloud/backport/3502/stable21

This commit is contained in:
Julius Härtl
2022-01-12 08:39:43 +01:00
committed by GitHub

View File

@@ -58,7 +58,7 @@
<h3>{{ t('deck', 'Move card to another board') }}</h3>
<Multiselect v-model="selectedBoard"
:placeholder="t('deck', 'Select a board')"
:options="boards"
:options="activeBoards"
:max-height="100"
label="title"
@select="loadStacksFromBoard" />
@@ -129,6 +129,9 @@ export default {
isCurrentUserAssigned() {
return this.card.assignedUsers.find((item) => item.type === 0 && item.participant.uid === getCurrentUser()?.uid)
},
activeBoards() {
return this.$store.getters.boards.filter((item) => item.deletedAt === 0 && item.archived === false)
}
},
methods: {
openCard() {