don't reset update time when no update was written to db

Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
This commit is contained in:
grnd-alt
2024-06-17 13:43:12 +02:00
committed by backportbot[bot]
parent 36533a3952
commit 8032fe6964

View File

@@ -203,7 +203,6 @@ export default {
},
onUpdate: ({ markdown }) => {
if (this.description === markdown) {
this.descriptionLastEdit = 0
return
}
this.description = markdown
@@ -299,7 +298,9 @@ export default {
return
}
this.descriptionSaving = true
if (this.card.id !== undefined) {
await this.$store.dispatch('updateCardDesc', { ...this.card, description: this.description })
}
this.$emit('change', this.description)
this.descriptionLastEdit = 0
this.descriptionSaving = false