From 6832d41dee81e5852afef9e1af45dfba7ee86c1a Mon Sep 17 00:00:00 2001 From: Luka Trovic Date: Thu, 31 Mar 2022 22:23:27 +0200 Subject: [PATCH] fix: show card after moving into another list Signed-off-by: Luka Trovic --- src/components/cards/CardMenu.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/cards/CardMenu.vue b/src/components/cards/CardMenu.vue index dde94fde2..0eda261d3 100644 --- a/src/components/cards/CardMenu.vue +++ b/src/components/cards/CardMenu.vue @@ -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)) {