Updated collectiontype to not use pascal case
This commit is contained in:
committed by
Bill Thornton
parent
445b879e7f
commit
4d638e3ff7
@@ -25,20 +25,20 @@ const LibraryIcon: FC<LibraryIconProps> = ({
|
||||
return <Movie />;
|
||||
case CollectionType.Music:
|
||||
return <MusicNote />;
|
||||
case CollectionType.HomeVideos:
|
||||
case CollectionType.Homevideos:
|
||||
case CollectionType.Photos:
|
||||
return <Photo />;
|
||||
case CollectionType.LiveTv:
|
||||
case CollectionType.Livetv:
|
||||
return <LiveTv />;
|
||||
case CollectionType.TvShows:
|
||||
case CollectionType.Tvshows:
|
||||
return <Tv />;
|
||||
case CollectionType.Trailers:
|
||||
return <Theaters />;
|
||||
case CollectionType.MusicVideos:
|
||||
case CollectionType.Musicvideos:
|
||||
return <MusicVideo />;
|
||||
case CollectionType.Books:
|
||||
return <Book />;
|
||||
case CollectionType.BoxSets:
|
||||
case CollectionType.Boxsets:
|
||||
return <Collections />;
|
||||
case CollectionType.Playlists:
|
||||
return <Queue />;
|
||||
|
||||
@@ -11,7 +11,7 @@ import { TvShowSuggestionsSectionsView } from 'types/sections';
|
||||
const episodesTabContent: LibraryTabContent = {
|
||||
viewType: LibraryTab.Episodes,
|
||||
itemType: [BaseItemKind.Episode],
|
||||
collectionType: CollectionType.TvShows,
|
||||
collectionType: CollectionType.Tvshows,
|
||||
isAlphabetPickerEnabled: false,
|
||||
noItemsMessage: 'MessageNoEpisodesFound'
|
||||
};
|
||||
@@ -19,7 +19,7 @@ const episodesTabContent: LibraryTabContent = {
|
||||
const seriesTabContent: LibraryTabContent = {
|
||||
viewType: LibraryTab.Series,
|
||||
itemType: [BaseItemKind.Series],
|
||||
collectionType: CollectionType.TvShows,
|
||||
collectionType: CollectionType.Tvshows,
|
||||
isBtnShuffleEnabled: true
|
||||
};
|
||||
|
||||
@@ -38,14 +38,14 @@ const upcomingTabContent: LibraryTabContent = {
|
||||
|
||||
const suggestionsTabContent: LibraryTabContent = {
|
||||
viewType: LibraryTab.Suggestions,
|
||||
collectionType: CollectionType.TvShows,
|
||||
collectionType: CollectionType.Tvshows,
|
||||
sectionsView: TvShowSuggestionsSectionsView
|
||||
};
|
||||
|
||||
const genresTabContent: LibraryTabContent = {
|
||||
viewType: LibraryTab.Genres,
|
||||
itemType: [BaseItemKind.Series],
|
||||
collectionType: CollectionType.TvShows
|
||||
collectionType: CollectionType.Tvshows
|
||||
};
|
||||
|
||||
const tvShowsTabMapping: LibraryTabMapping = {
|
||||
|
||||
Reference in New Issue
Block a user