Administrator approval is now required for registering new accounts. If you are registering a new account, and are external to the University, please ask the repository owner to contact ServiceLine to request your account be approved. Repository owners must include the newly registered email address, and specific repository in the request for approval.

Commit 46964be1 authored by Adam Procter's avatar Adam Procter
Browse files

fixed color swatches issue :)

parent abafcfe5
......@@ -16,7 +16,7 @@
v-model="nodes.node_color"
:swatches="swatches"
:shapes="shapes"
@input="chooseColor(nodes.node_id, nodes.node_color)"
@update:modelValue="chooseColor(nodes.node_id, nodes.node_color)"
show-border
show-fallback
fallback-input-type="color"
......
......@@ -25,7 +25,7 @@ export const mutations = {
node_shape: 'square',
node_deleted: false,
node_readmode: false,
node_color: '#9bc2d8',
node_color: '#9BC2D8',
})
return pouchdb
......@@ -72,7 +72,7 @@ export const mutations = {
node_shape: 'square',
node_deleted: false,
node_readmode: false,
node_color: '#9bc2d8',
node_color: '#9BC2D8',
},
],
})
......@@ -245,7 +245,7 @@ export const mutations = {
.then(function (doc) {
return pouchdb.bulkDocs([
{
_id: state.myclient,
_id: deviceName,
_rev: doc._rev,
nodes: state.myNodes,
},
......
Markdown is supported
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