Skip to content

Commit

Permalink
Don't show 3-dot menu on hidden content
Browse files Browse the repository at this point in the history
  • Loading branch information
miko committed Dec 17, 2023
1 parent d5ff39f commit afc65c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/component/claimPreview/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
'claim-preview__wrapper--inline': type === 'inline',
'claim-preview__wrapper--playlist-row': type === 'small' && collectionId,
'claim-preview__wrapper--active': active,
'non-clickable': nonClickable,
'non-clickable': !playlistPreviewItem || nonClickable,
})}
>
<ClaimPreviewHidden
Expand All @@ -418,7 +418,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
uri={uri}
collectionId={!claim && playlistPreviewItem && collectionId ? collectionId : undefined}
/>
{!hideMenu && <ClaimMenuList uri={uri} collectionId={collectionId} />}
{playlistPreviewItem && !hideMenu && <ClaimMenuList uri={uri} collectionId={collectionId} />}
</WrapperElement>
);
}
Expand Down

0 comments on commit afc65c1

Please sign in to comment.