fix nsfw
This commit is contained in:
parent
9183717354
commit
a3d98266af
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue