mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Updated collectiontype to not use pascal case
This commit is contained in:
parent
445b879e7f
commit
4d638e3ff7
5 changed files with 14 additions and 14 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue