new functions

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-07-24 08:08:46 +02:00
committed by Julius Härtl
parent 38dc7945dd
commit 4a45687a28
9 changed files with 226 additions and 55 deletions

View File

@@ -154,7 +154,7 @@ export default {
assignCardToMe() {
this.copiedCard = Object.assign({}, this.card)
this.copiedCard.newUserUid = this.card.owner.uid
this.$store.dispatch('assignCardToMe', this.copiedCard)
this.$store.dispatch('assignCardToUser', this.copiedCard)
},
setCurrentCard() {
this.$store.dispatch('setCurrentCard', this.card)