mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
Change show condition on public note to be more stylistically similar
This commit is contained in:
parent
8fcb7fcb01
commit
d2aba04bea
@ -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}/>
|
||||
|
Loading…
Reference in New Issue
Block a user