diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index 444ac2701..d9e6d3d8b 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -52,7 +52,7 @@ - + {{ t('deck', 'Remove due date') }} @@ -138,12 +138,15 @@ export default { } }, watch: { - currentCard() { - this.copiedCard = JSON.parse(JSON.stringify(this.currentCard)) - this.allLabels = this.currentCard.labels - this.assignedUsers = this.currentCard.assignedUsers.map((item) => item.participant) - this.desc = this.currentCard.description - this.updateRelativeTimestamps() + 'currentCard': { + immediate: true, + handler() { + this.copiedCard = JSON.parse(JSON.stringify(this.currentCard)) + this.allLabels = this.currentCard.labels + this.assignedUsers = this.currentCard.assignedUsers.map((item) => item.participant) + this.desc = this.currentCard.description + this.updateRelativeTimestamps() + } }, desc() {