1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update missed capital changes

This commit is contained in:
TelepathicWalrus 2024-01-13 13:06:33 +00:00 committed by Bill Thornton
parent c6b3f8ad50
commit 42e76c9099
3 changed files with 8 additions and 8 deletions

View file

@ -309,7 +309,7 @@ function getItems(instance, params, item, sortBy, startIndex, limit) {
query.IncludeItemTypes = 'MusicAlbum';
} else if (item.CollectionType === CollectionType.Movies) {
query.IncludeItemTypes = 'Movie';
} else if (item.CollectionType === CollectionType.TvShows) {
} else if (item.CollectionType === CollectionType.Tvshows) {
query.IncludeItemTypes = 'Series';
} else if (item.Type === 'Genre') {
query.IncludeItemTypes = 'Movie,Series,Video';
@ -866,7 +866,7 @@ class ItemsView {
// Folder, Playlist views
&& itemType !== 'UserView'
// Only Photo (homevideos) CollectionFolders are supported
&& !(itemType === 'CollectionFolder' && item?.CollectionType !== CollectionType.HomeVideos)
&& !(itemType === 'CollectionFolder' && item?.CollectionType !== CollectionType.Homevideos)
) {
// Show Play All buttons
hideOrShowAll(view.querySelectorAll('.btnPlay'), false);
@ -879,7 +879,7 @@ class ItemsView {
// Folder, Playlist views
&& itemType !== 'UserView'
// Only Photo (homevideos) CollectionFolders are supported
&& !(itemType === 'CollectionFolder' && item?.CollectionType !== CollectionType.HomeVideos)
&& !(itemType === 'CollectionFolder' && item?.CollectionType !== CollectionType.Homevideos)
) {
// Show Shuffle buttons
hideOrShowAll(view.querySelectorAll('.btnShuffle'), false);