1
0
mirror of https://github.com/ascribe/onion.git synced 2025-02-14 21:10:27 +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() { render() {
if ((this.props.currentUser.username && true || false) && this.props.show) { if (!!this.props.currentUser.username && this.props.show) {
return ( return (
<Form <Form
url={this.props.url} url={this.props.url}