diff --git a/src/components/card/CardSidebarTabDetails.vue b/src/components/card/CardSidebarTabDetails.vue index 387298cfa..df21c0ecb 100644 --- a/src/components/card/CardSidebarTabDetails.vue +++ b/src/components/card/CardSidebarTabDetails.vue @@ -172,13 +172,14 @@ export default { }, async addLabelToBoardAndCard(name) { - await this.$store.dispatch('addLabelToCurrentBoardAndCard', { + const newLabel = await this.$store.dispatch('addLabelToCurrentBoardAndCard', { card: this.copiedCard, newLabel: { title: name, color: this.randomColor(), }, }) + this.copiedCard.labels.push(newLabel) }, removeLabelFromCard(removedLabel) { diff --git a/src/components/card/TagSelector.vue b/src/components/card/TagSelector.vue index 6bf6e4d0e..323a447b1 100644 --- a/src/components/card/TagSelector.vue +++ b/src/components/card/TagSelector.vue @@ -12,13 +12,19 @@ :taggable="true" label="title" track-by="id" + tag-position="bottom" @select="onSelect" @remove="onRemove" @tag="onNewTag">