X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/e7f606daa03a0f441aad0bc9fef05c4107634421..1bb20d397e70c0277b72d9847b69cf74cf09c659:/src/views-components/data-explorer/renderers.tsx?ds=sidebyside

diff --git a/src/views-components/data-explorer/renderers.tsx b/src/views-components/data-explorer/renderers.tsx
index 87ba73ff..d0266adc 100644
--- a/src/views-components/data-explorer/renderers.tsx
+++ b/src/views-components/data-explorer/renderers.tsx
@@ -92,7 +92,7 @@ export const resourceShare = (dispatch: Dispatch, uuidPrefix: string, ownerUuid?
     const isPublic = ownerUuid === getPublicUuid(uuidPrefix);
     return (
         <div>
-            { isPublic && uuid &&
+            { !isPublic && uuid &&
                 <Tooltip title="Share">
                     <IconButton onClick={() => dispatch<any>(openSharingDialog(uuid))}>
                         <ShareIcon />
