From 9ed3ecc7bb0c47ded7d5c2f3425cd851452fde56 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Thu, 8 Nov 2018 13:19:12 -0500 Subject: [PATCH] Split up the backpack options and tie visibility to isLoggedIn --- src/views/preview/presentation.jsx | 12 ++++++------ src/views/preview/preview.jsx | 19 +++++++++---------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/views/preview/presentation.jsx b/src/views/preview/presentation.jsx index 1b8b69bb9..74416cd6a 100644 --- a/src/views/preview/presentation.jsx +++ b/src/views/preview/presentation.jsx @@ -44,12 +44,13 @@ const onKeyPress = e => { const PreviewPresentation = ({ assetHost, - backpackOptions, + backpackHost, canAddToStudio, canDeleteComments, canReport, canRestoreComments, canShare, + canUseBackpack, cloudHost, comments, editable, @@ -173,7 +174,8 @@ const PreviewPresentation = ({ { canReport: isLoggedIn && !userOwnsProject, canSave: isLoggedIn && userOwnsProject, canShare: userOwnsProject && state.permissions.social, + canUseBackpack: isLoggedIn, comments: state.preview.comments, enableCommunity: projectInfoPresent, faved: state.preview.faved,