diff --git a/js/components/ascribe_detail/edition.js b/js/components/ascribe_detail/edition.js index ef5207d9..f0910b51 100644 --- a/js/components/ascribe_detail/edition.js +++ b/js/components/ascribe_detail/edition.js @@ -210,6 +210,11 @@ let EditionSummary = React.createClass({ value={ edition.owner } /> {this.getStatus()} + {/* + `acl_view` is always available in `edition.acl`, therefore if it has + no more than 1 key, we're hiding the `DetailProperty` actions as otherwise + `AclInformation` would show up + */} 1}> diff --git a/js/components/ascribe_detail/piece_container.js b/js/components/ascribe_detail/piece_container.js index d78999fb..7b577fa9 100644 --- a/js/components/ascribe_detail/piece_container.js +++ b/js/components/ascribe_detail/piece_container.js @@ -197,6 +197,11 @@ let PieceContainer = React.createClass({ return ( 1}> + {/* + `acl_view` is always available in `edition.acl`, therefore if it has + no more than 1 key, we're hiding the `DetailProperty` actions as otherwise + `AclInformation` would show up + */}