This commit is contained in:
Jeremy Kauffman 2017-05-23 15:51:47 -04:00
parent 9183717354
commit a3d98266af

View file

@ -106,7 +106,7 @@ class PublishPage extends React.Component {
}
}
metadata.nsfw = Boolean(parseInt(!!this.refs.meta_nsfw.getValue()));
metadata.nsfw = parseInt(this.refs.meta_nsfw.getValue()) === 1;
const licenseUrl = this.refs.meta_license_url.getValue();
if (licenseUrl) {