watcher readded

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-08-20 11:23:43 +02:00
parent c0a9597877
commit 0de1c581e8

View File

@@ -138,12 +138,15 @@ export default {
}
},
watch: {
currentCard() {
'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() {