Change show condition on public note to be more stylistically similar

This commit is contained in:
Brett Sun 2015-12-07 10:52:00 +01:00
parent 8fcb7fcb01
commit d2aba04bea
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ let PieceContainer = React.createClass({
defaultValue={this.state.piece.public_note || null}
placeholder={getLangText('Enter your comments ...')}
editable={!!this.state.piece.acl.acl_edit}
show={!!this.state.piece.public_note || !!this.state.piece.acl.acl_edit}
show={!!(this.state.piece.public_note || this.state.piece.acl.acl_edit)}
successMessage={getLangText('Public note saved')}
url={ApiUrls.note_public_piece}
currentUser={this.state.currentUser}/>