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