mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
username boolean
This commit is contained in:
parent
33cd23d11e
commit
8b6c5e6e0f
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user