From 38dba0e05deefc57355da57a7d714785be9b4950 Mon Sep 17 00:00:00 2001 From: Dave Falke Date: Mon, 15 Apr 2024 16:52:49 -0400 Subject: [PATCH] Only show Management Dashboard button for user datasets (#1003) --- packages/libs/eda/src/lib/workspace/EDAWorkspaceHeading.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/libs/eda/src/lib/workspace/EDAWorkspaceHeading.tsx b/packages/libs/eda/src/lib/workspace/EDAWorkspaceHeading.tsx index 62c5f5623e..8728cca117 100644 --- a/packages/libs/eda/src/lib/workspace/EDAWorkspaceHeading.tsx +++ b/packages/libs/eda/src/lib/workspace/EDAWorkspaceHeading.tsx @@ -77,7 +77,8 @@ export function EDAWorkspaceHeading({ )}
- {!permissionsValue.loading && + {studyMetadata.isUserStudy && + !permissionsValue.loading && shouldOfferLinkToDashboard( permissionsValue.permissions, studyRecord.id[0].value