|
|
@ -406,15 +406,21 @@ const PlayerBar = () => { |
|
|
|
> |
|
|
|
<LinkButton |
|
|
|
tabIndex={0} |
|
|
|
onClick={() => |
|
|
|
onClick={() => { |
|
|
|
if ( |
|
|
|
playQueue[currentEntryList][ |
|
|
|
playQueue.currentIndex |
|
|
|
]?.albumId |
|
|
|
) { |
|
|
|
history.push( |
|
|
|
`/library/album/${ |
|
|
|
playQueue[currentEntryList][ |
|
|
|
playQueue.currentIndex |
|
|
|
]?.albumId |
|
|
|
}` |
|
|
|
) |
|
|
|
); |
|
|
|
} |
|
|
|
}} |
|
|
|
> |
|
|
|
{playQueue[currentEntryList][playQueue.currentIndex] |
|
|
|
?.title || 'Unknown title'} |
|
|
@ -448,6 +454,11 @@ const PlayerBar = () => { |
|
|
|
tabIndex={0} |
|
|
|
subtitle="true" |
|
|
|
onClick={() => { |
|
|
|
if ( |
|
|
|
playQueue[currentEntryList][ |
|
|
|
playQueue.currentIndex |
|
|
|
]?.artistId |
|
|
|
) { |
|
|
|
history.push( |
|
|
|
`/library/artist/${ |
|
|
|
playQueue[currentEntryList][ |
|
|
@ -455,6 +466,7 @@ const PlayerBar = () => { |
|
|
|
]?.artistId |
|
|
|
}` |
|
|
|
); |
|
|
|
} |
|
|
|
}} |
|
|
|
> |
|
|
|
{playQueue[currentEntryList][playQueue.currentIndex] |
|
|
|