mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #2944 from SegiH/showPlaylistItemCount
Show playlist item count
This commit is contained in:
commit
7c607cf47a
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ import '../../elements/emby-button/emby-button';
|
|||
let date;
|
||||
let count;
|
||||
|
||||
const showFolderRuntime = item.Type === 'MusicAlbum' || item.MediaType === 'MusicArtist' || item.MediaType === 'Playlist' || item.MediaType === 'MusicGenre';
|
||||
const showFolderRuntime = item.Type === 'MusicAlbum' || item.MediaType === 'MusicArtist' || item.Type === 'Playlist' || item.MediaType === 'Playlist' || item.MediaType === 'MusicGenre';
|
||||
|
||||
if (showFolderRuntime) {
|
||||
count = item.SongCount || item.ChildCount;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue