Skip to content

Commit

Permalink
Only show Management Dashboard button for user datasets (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfalke authored Apr 15, 2024
1 parent f6c32a4 commit 38dba0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/libs/eda/src/lib/workspace/EDAWorkspaceHeading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ export function EDAWorkspaceHeading({
</H3>
)}
<div>
{!permissionsValue.loading &&
{studyMetadata.isUserStudy &&
!permissionsValue.loading &&
shouldOfferLinkToDashboard(
permissionsValue.permissions,
studyRecord.id[0].value
Expand Down

0 comments on commit 38dba0e

Please sign in to comment.