diff --git a/src/components/library/ArtistView.tsx b/src/components/library/ArtistView.tsx index 3aa5a3a..0661156 100644 --- a/src/components/library/ArtistView.tsx +++ b/src/components/library/ArtistView.tsx @@ -42,7 +42,7 @@ import { getPlayedSongsNotification, isCached, } from '../../shared/utils'; -import { StyledButton, StyledPopover, StyledTag } from '../shared/styled'; +import { StyledButton, StyledLink, StyledPopover, StyledTag } from '../shared/styled'; import { setStatus } from '../../redux/playerSlice'; import { GradientBackground, PageHeaderSubtitleDataLine } from '../layout/styled'; import { apiController } from '../../api/controller'; @@ -365,9 +365,11 @@ const ArtistView = ({ ...rest }: any) => { showTitleTooltip subtitle={ <> - - ARTIST • {data.albumCount} albums • {artistSongTotal} songs •{' '} - {artistDurationTotal} + + history.push(`/library/artist`)}> + ARTIST + {' '} + • {data.albumCount} albums • {artistSongTotal} songs, {artistDurationTotal} { subtitle={
- PLAYLIST • {data.songCount} songs • {formatDuration(data.duration)}{' '} - • {data.public ? 'Public' : 'Private'} + history.push('/playlist')}> + PLAYLIST + {' '} + • {data.songCount} songs, {formatDuration(data.duration)} •{' '} + {data.public ? 'Public' : 'Private'} {data.owner && `By ${data.owner} • `}