fix: show card after moving into another list

Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
Luka Trovic
2022-03-31 22:23:27 +02:00
committed by backportbot-nextcloud[bot]
parent ab6d12cc5f
commit 6832d41dee

View File

@@ -172,6 +172,7 @@ export default {
},
async moveCard() {
this.copiedCard = Object.assign({}, this.card)
const boardId = this.card?.boardId ? this.card.boardId : this.$route.params.id
this.copiedCard.stackId = this.selectedStack.id
this.$store.dispatch('moveCard', this.copiedCard)
if (parseInt(this.boardId) === parseInt(this.selectedStack.boardId)) {