Hide 'Go to album' menu option in AlbumDetailView
Redundant to show navigation to album when already viewing that album. TrackRow menu automatically hides options when callback is undefined.
This commit is contained in:
1 parent
0de662f987
commit
68c1f628b3
1 file changed
-1
@@ -407,7 +407,6 @@
|
||||
onAddToPlaylist: onAddTrackToPlaylist ? () => onAddTrackToPlaylist(track.id) : undefined,
|
||||
onShareQobuz: onTrackShareQobuz ? () => onTrackShareQobuz(track.id) : undefined,
|
||||
onShareSonglink: onTrackShareSonglink ? () => onTrackShareSonglink(track) : undefined,
|
||||
onGoToAlbum: onTrackGoToAlbum ? () => onTrackGoToAlbum(album.id) : undefined,
|
||||
onGoToArtist: album.artistId && onTrackGoToArtist ? () => onTrackGoToArtist(album.artistId!) : undefined,
|
||||
onDownload: onTrackDownload ? () => onTrackDownload(track) : undefined,
|
||||
isTrackDownloaded,
|
||||
|
||||
Reference in new issue
Block a user