Fix unnecessary double call of getValue on license URL field

This commit is contained in:
Alex Liebowitz 2016-07-26 08:30:46 -04:00
parent 45840838b9
commit 6b9df7be76

View file

@ -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 = () => {