use palylistEntries length for total videos in playlist, #942
This commit is contained in:
parent
af33dbb22d
commit
897250da6b
|
|
@ -60,7 +60,7 @@ const Playlist = () => {
|
|||
|
||||
const palylistEntries = playlistResponseData?.playlist_entries;
|
||||
const videoArchivedCount = Number(palylistEntries?.filter(video => video.downloaded).length);
|
||||
const videoInPlaylistCount = pagination?.total_hits;
|
||||
const videoInPlaylistCount = Number(palylistEntries?.length);
|
||||
|
||||
const view = userConfig.view_style_home;
|
||||
const gridItems = userConfig.grid_items;
|
||||
|
|
|
|||
Loading…
Reference in New Issue