mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-01 01:35:11 +00:00
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();
|
const licenseUrl = this.refs.meta_license_url.getValue();
|
||||||
if (licenseUrl) {
|
if (licenseUrl) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue