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: {
|
methods: {
|
||||||
updateColor() {
|
updateColor() {
|
||||||
this.$emit('input', this.color)
|
this.$emit('input', this.color.hex)
|
||||||
},
|
},
|
||||||
hidePicker() {
|
hidePicker() {
|
||||||
this.showFullPicker = false
|
this.showFullPicker = false
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ export default {
|
|||||||
const title = e.currentTarget.childNodes[0].value
|
const title = e.currentTarget.childNodes[0].value
|
||||||
this.$store.dispatch('createBoard', {
|
this.$store.dispatch('createBoard', {
|
||||||
title: title,
|
title: title,
|
||||||
color: this.color.hex.substring(1)
|
color: this.color.substring(1)
|
||||||
})
|
})
|
||||||
this.editing = false
|
this.editing = false
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user