Skip to content

Commit

Permalink
Fix - Allow playing items from playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
miko committed Oct 14, 2024
1 parent ce707b0 commit b44fed9
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 @@ -261,11 +261,11 @@ const ClaimPreview = forwardRef<any, {}>((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) {
Expand Down

0 comments on commit b44fed9

Please sign in to comment.