mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
bug fix show public note for anonymous
This commit is contained in:
parent
2dda22d848
commit
9bb5a51fed
@ -39,7 +39,7 @@ let Note = React.createClass({
|
||||
},
|
||||
|
||||
render() {
|
||||
if (!!this.props.currentUser.username && this.props.show) {
|
||||
if ((!!this.props.currentUser.username && this.props.editable || !this.props.editable ) && this.props.show) {
|
||||
return (
|
||||
<Form
|
||||
url={this.props.url}
|
||||
|
Loading…
Reference in New Issue
Block a user