mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
public note is visible outside
This commit is contained in:
parent
dc96e908eb
commit
e482caaa99
@ -259,12 +259,12 @@ let PieceContainer = React.createClass({
|
||||
</CollapsibleParagraph>
|
||||
<CollapsibleParagraph
|
||||
title={getLangText('Notes')}
|
||||
show={(!!(this.state.currentUser.username || this.state.piece.public_note)) &&
|
||||
(!!this.state.piece.acl.acl_edit)}>
|
||||
show={(!!(this.state.currentUser.username || this.state.piece.public_note))}>
|
||||
<Note
|
||||
id={this.getId}
|
||||
label={getLangText('Personal note (private)')}
|
||||
defaultValue={this.state.piece.private_note || null}
|
||||
show = {!!this.state.currentUser.username}
|
||||
placeholder={getLangText('Enter your comments ...')}
|
||||
editable={true}
|
||||
successMessage={getLangText('Private note saved')}
|
||||
|
Loading…
Reference in New Issue
Block a user