2 small fixes

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-08-09 08:24:32 +02:00
committed by Julius Härtl
parent cc92937c6b
commit 39ae9332e2
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@
</div> </div>
</div> </div>
<div v-if="board" class="crumb svg"> <div v-if="board" class="crumb svg">
<div class="board-bullet" /> <div :style="{backgroundColor: '#' + board.color}" class="board-bullet" />
<a href="#">{{ board.title }}</a> <a href="#">{{ board.title }}</a>
<router-link :to="{name: 'board.details'}" class="icon-shared" /> <router-link :to="{name: 'board.details'}" class="icon-shared" />
</div> </div>

View File

@@ -117,7 +117,7 @@ export default {
this.addLabel = true this.addLabel = true
}, },
clickAddLabel() { clickAddLabel() {
this.$store.dispatch('createStack', this.addLabelObj) this.$store.dispatch('addLabelToCurrentBoard', this.addLabelObj)
this.addLabel = false this.addLabel = false
this.addLabelObj = null this.addLabelObj = null
} }