From b44fed96fc27263e904ea48f82ee36116355154c Mon Sep 17 00:00:00 2001 From: miko Date: Mon, 14 Oct 2024 17:35:28 +0300 Subject: [PATCH] Fix - Allow playing items from playlist --- ui/component/claimPreview/view.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/component/claimPreview/view.jsx b/ui/component/claimPreview/view.jsx index 58ef8b280e..699913f6e6 100644 --- a/ui/component/claimPreview/view.jsx +++ b/ui/component/claimPreview/view.jsx @@ -261,11 +261,11 @@ const ClaimPreview = forwardRef((props: Props, ref: any) => { const ariaLabelData = isChannelUri ? title : formatClaimPreviewTitle(title, channelTitle, date, mediaDuration); const navigateUrl = - listId && defaultCollectionAction === COLLECTIONS_CONSTS.DEFAULT_ACTION_VIEW + isCollection && listId && defaultCollectionAction === COLLECTIONS_CONSTS.DEFAULT_ACTION_VIEW ? `/$/${PAGES.PLAYLIST}/${listId}` : formatLbryUrlForWeb((claim && claim.canonical_url) || uri || '/'); let navigateSearch = new URLSearchParams(); - if (listId && defaultCollectionAction !== COLLECTIONS_CONSTS.DEFAULT_ACTION_VIEW) { + if (!isCollection && listId) { navigateSearch.set(COLLECTIONS_CONSTS.COLLECTION_ID, listId); } if (searchParams) {