diff --git a/ui/component/collectionContentSidebar/index.js b/ui/component/collectionContentSidebar/index.js index ffe8126a7..23ca1d4c0 100644 --- a/ui/component/collectionContentSidebar/index.js +++ b/ui/component/collectionContentSidebar/index.js @@ -7,9 +7,14 @@ import { makeSelectClaimForUri, makeSelectClaimIsMine, } from 'lbry-redux'; +import { + selectPlayingUri, +} from 'redux/selectors/content'; const select = (state, props) => { - const claim = makeSelectClaimForUri(props.uri)(state); + const playingUri = selectPlayingUri(state); + const playingUrl = playingUri && playingUri.uri; + const claim = makeSelectClaimForUri(playingUrl)(state); const url = claim && claim.permanent_url; return {