Keep existing metadata version when updating claims
This commit is contained in:
parent
596a122d25
commit
9995e6e3a8
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ var moreButtonColumnStyle = {
|
|||
backgroundColor: '#444',
|
||||
border: '2px solid #eee',
|
||||
display: 'inline-block',
|
||||
},
|
||||
},
|
||||
artStyle = {
|
||||
maxHeight: '100px',
|
||||
maxWidth: '100%',
|
||||
|
|
|
@ -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 !== '') {
|
||||
|
|
Loading…
Add table
Reference in a new issue