From 2b6c9777e91218b86e33d4062fef4a3130d5ac6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Mon, 30 Nov 2015 13:20:05 +0100 Subject: [PATCH] Display actions only if ACLs are available --- js/components/ascribe_detail/edition.js | 2 +- js/components/ascribe_detail/piece_container.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/components/ascribe_detail/edition.js b/js/components/ascribe_detail/edition.js index 254746a6..ef5207d9 100644 --- a/js/components/ascribe_detail/edition.js +++ b/js/components/ascribe_detail/edition.js @@ -210,7 +210,7 @@ let EditionSummary = React.createClass({ value={ edition.owner } /> {this.getStatus()} - + 1}> + show={currentUser && currentUser.email && Object.keys(piece.acl).length > 1}>