cignium-hypermedia-client
Advanced tools
Comparing version 1.21.1 to 1.21.2
@@ -32,2 +32,3 @@ { | ||
"babel-preset-stage-0": "^6.3.13", | ||
"babel-runtime": "^6.9.0", | ||
"css-loader": "^0.23.0", | ||
@@ -62,3 +63,3 @@ "eslint": "^1.10.3", | ||
}, | ||
"version": "1.21.1" | ||
"version": "1.21.2" | ||
} |
@@ -45,3 +45,3 @@ import { render } from 'react-dom' | ||
const output = {} | ||
this.allProperties.forEach(i => { | ||
this.api.allProperties.forEach(i => { | ||
output[i.name] = i.value | ||
@@ -59,2 +59,5 @@ }) | ||
if (property.value !== value) { | ||
if (!property.links.update) { | ||
property.set('value', value) | ||
} | ||
this.api.update(property.links, property.id, value) | ||
@@ -61,0 +64,0 @@ } |
Sorry, the diff of this file is too big to display
423941
3214
32