Keep existing metadata version when updating claims

This commit is contained in:
Alex Liebowitz 2016-08-27 02:18:19 -04:00
parent 596a122d25
commit 9995e6e3a8
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ var moreButtonColumnStyle = {
backgroundColor: '#444',
border: '2px solid #eee',
display: 'inline-block',
},
},
artStyle = {
maxHeight: '100px',
maxWidth: '100%',

View file

@ -50,7 +50,7 @@ var PublishPage = React.createClass({
} else {
var metadata = {};
}
metadata['ver'] = '0.0.2';
for (let metaField of ['title', 'author', 'description', 'thumbnail', 'license', 'license_url', 'language', 'nsfw']) {
var value = this.refs['meta_' + metaField].getValue();
if (value !== '') {