1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

username boolean

This commit is contained in:
diminator 2015-08-21 16:39:06 +02:00
parent 33cd23d11e
commit 8b6c5e6e0f

View File

@ -39,7 +39,7 @@ let Note = React.createClass({
},
render() {
if ((this.props.currentUser.username && true || false) && this.props.show) {
if (!!this.props.currentUser.username && this.props.show) {
return (
<Form
url={this.props.url}