Fix color picker when creating boards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -60,7 +60,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
updateColor() {
|
||||
this.$emit('input', this.color)
|
||||
this.$emit('input', this.color.hex)
|
||||
},
|
||||
hidePicker() {
|
||||
this.showFullPicker = false
|
||||
|
||||
@@ -66,7 +66,7 @@ export default {
|
||||
const title = e.currentTarget.childNodes[0].value
|
||||
this.$store.dispatch('createBoard', {
|
||||
title: title,
|
||||
color: this.color.hex.substring(1)
|
||||
color: this.color.substring(1)
|
||||
})
|
||||
this.editing = false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user