mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Show the public note on editions
Public notes should be visible either when there is one already saved, or if you can edit the field
This commit is contained in:
parent
e0a9d1ccba
commit
a8df08c01e
@ -130,7 +130,7 @@ let Edition = React.createClass({
|
||||
defaultValue={edition.public_note ? edition.public_note : null}
|
||||
placeholder={getLangText('Enter your comments ...')}
|
||||
editable={!!edition.acl.acl_edit}
|
||||
show={!!(edition.public_note && edition.acl.acl_edit)}
|
||||
show={!!(edition.public_note || edition.acl.acl_edit)}
|
||||
successMessage={getLangText('Public edition note saved')}
|
||||
url={ApiUrls.note_public_edition}
|
||||
currentUser={currentUser} />
|
||||
|
Loading…
Reference in New Issue
Block a user