1
0
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:
diminator 2015-09-28 17:11:15 +02:00
parent 2dda22d848
commit 9bb5a51fed

View File

@ -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}