committed by
backportbot[bot]
parent
1ebb21dfeb
commit
cc73357fa9
@@ -169,10 +169,9 @@ 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(boardId) === parseInt(this.selectedStack.boardId)) {
|
||||
if (parseInt(this.boardId) === parseInt(this.selectedStack.boardId)) {
|
||||
await this.$store.commit('addNewCard', { ...this.copiedCard })
|
||||
}
|
||||
this.modalShow = false
|
||||
|
||||
Reference in New Issue
Block a user