fix: Make sure to always update card description when navigating awayfix
fix #5254 fix #2705 Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -119,8 +119,10 @@ export default {
|
||||
this.initialize()
|
||||
},
|
||||
methods: {
|
||||
descriptionChanged(newDesc) {
|
||||
this.$store.dispatch('updateCardDesc', { ...this.card, description: newDesc })
|
||||
async descriptionChanged(newDesc) {
|
||||
if (newDesc === this.copiedCard.description) {
|
||||
return
|
||||
}
|
||||
this.copiedCard.description = newDesc
|
||||
},
|
||||
async initialize() {
|
||||
|
||||
Reference in New Issue
Block a user