Skip to content

Commit

Permalink
fix: revert to previous rendering logic
Browse files Browse the repository at this point in the history
  • Loading branch information
ekraffmiller committed Dec 2, 2023
1 parent 2b6fd89 commit e6158fc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ interface AccessDatasetMenuProps {
export function AccessDatasetMenu({ version, permissions }: AccessDatasetMenuProps) {
if (
!permissions.canDownloadFiles ||
version.publishingStatus === DatasetPublishingStatus.DEACCESSIONED
(version.publishingStatus === DatasetPublishingStatus.DEACCESSIONED &&
!permissions.canUpdateDataset)
) {
return <></>
}
Expand Down

0 comments on commit e6158fc

Please sign in to comment.