fix: show card after moving into another list
Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
committed by
backportbot-nextcloud[bot]
parent
ab6d12cc5f
commit
6832d41dee
@@ -172,6 +172,7 @@ export default {
|
|||||||
},
|
},
|
||||||
async moveCard() {
|
async moveCard() {
|
||||||
this.copiedCard = Object.assign({}, this.card)
|
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.copiedCard.stackId = this.selectedStack.id
|
||||||
this.$store.dispatch('moveCard', this.copiedCard)
|
this.$store.dispatch('moveCard', this.copiedCard)
|
||||||
if (parseInt(this.boardId) === parseInt(this.selectedStack.boardId)) {
|
if (parseInt(this.boardId) === parseInt(this.selectedStack.boardId)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user