diff --git a/ui/js/page/publish/view.jsx b/ui/js/page/publish/view.jsx index e3c13b820..0aa52c9b1 100644 --- a/ui/js/page/publish/view.jsx +++ b/ui/js/page/publish/view.jsx @@ -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) {