Unify mutations to modify card properties and move to async actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -178,7 +178,7 @@ export default {
|
||||
},
|
||||
finishedEdit(card) {
|
||||
if (this.copiedCard.title !== card.title) {
|
||||
this.$store.dispatch('updateCard', this.copiedCard)
|
||||
this.$store.dispatch('updateCardTitle', this.copiedCard)
|
||||
}
|
||||
this.editing = false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user