Fix unnecessary double call of getValue on license URL field
This commit is contained in:
parent
45840838b9
commit
6b9df7be76
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ var PublishPage = React.createClass({
|
|||
|
||||
var licenseUrl = this.refs.meta_license_url.getValue();
|
||||
if (licenseUrl != '') {
|
||||
metadata.license.url = this.refs.meta_license_url.getValue();
|
||||
metadata.license.url = licenseUrl;
|
||||
}
|
||||
|
||||
var doPublish = () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue