fix: Adapt to new nextcloud vue version

Signed-off-by: Julius Härtl <jus@bitgrid.net>
(cherry picked from commit e1de6d317b)
This commit is contained in:
Julius Härtl
2024-02-08 10:12:57 +01:00
committed by Elizabeth Danzberger
parent f4e24e74a9
commit 7635423f52
26 changed files with 252 additions and 187 deletions

View File

@@ -178,14 +178,13 @@ export default {
},
async addLabelToBoardAndCard(name) {
const newLabel = await this.$store.dispatch('addLabelToCurrentBoardAndCard', {
await this.$store.dispatch('addLabelToCurrentBoardAndCard', {
card: this.copiedCard,
newLabel: {
title: name,
color: this.randomColor(),
},
})
this.copiedCard.labels.push(newLabel)
},
removeLabelFromCard(removedLabel) {