Skip to content

Commit f047ee9

Browse files
authored
Merge pull request #2062 from nextcloud/bugfix/2061
Fix saving card description after toggling checkboxes
2 parents c93f30a + a9d52d7 commit f047ee9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/card/CardSidebar.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ export default {
423423
}
424424
return match
425425
})
426-
this.updateDescription(updatedDescription)
426+
this.$set(this.copiedCard, 'description', updatedDescription)
427+
this.$store.dispatch('updateCardDesc', this.copiedCard)
427428
}
428429
},
429430
updateRelativeTimestamps() {
@@ -446,7 +447,7 @@ export default {
446447
delete this.copiedCard.descriptionLastEdit
447448
this.descriptionSaving = false
448449
},
449-
updateDescription(text) {
450+
updateDescription() {
450451
this.copiedCard.descriptionLastEdit = Date.now()
451452
clearTimeout(this.descriptionSaveTimeout)
452453
this.descriptionSaveTimeout = setTimeout(async() => {

0 commit comments

Comments
 (0)