Commit 204353bc authored by Adam Procter's avatar Adam Procter
Browse files

more tests for coloring node

parent 947a7ffb
......@@ -14,9 +14,9 @@
<VSwatches
v-model="nodes.node_color"
@input="chooseColor(nodes.node_id, nodes.node_color)"
:swatches="swatches"
:shapes="shapes"
@input="chooseColor(nodes.node_id, nodes.node_color)"
show-border
show-fallback
fallback-input-type="color"
......@@ -130,9 +130,6 @@ export default {
},
chooseColor(nodeid, color) {
// var nodeid = e.target.id
// var color = e.target.value
this.$store.dispatch('colorNode', { nodeid, color })
setTimeout(this.loadData, 500)
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment