mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-10-26 16:45:18 +00:00
add audiobooks back to book libraries
This commit is contained in:
1 parent
6633524f99
commit
fe47023193
2 files changed
+4
-4
No files matched your search
@@ -11,7 +11,7 @@ import { BookSuggestionsSectionsView } from 'types/sections';
|
||||
const booksTabContent: LibraryTabContent = {
|
||||
viewType: LibraryTab.Books,
|
||||
collectionType: CollectionType.Books,
|
||||
itemType: [BaseItemKind.Book]
|
||||
itemType: [BaseItemKind.AudioBook, BaseItemKind.Book]
|
||||
};
|
||||
|
||||
const suggestionsTabContent: LibraryTabContent = {
|
||||
@@ -23,13 +23,13 @@ const suggestionsTabContent: LibraryTabContent = {
|
||||
const genresTabContent: LibraryTabContent = {
|
||||
viewType: LibraryTab.Genres,
|
||||
collectionType: CollectionType.Books,
|
||||
itemType: [BaseItemKind.Book]
|
||||
itemType: [BaseItemKind.AudioBook, BaseItemKind.Book]
|
||||
};
|
||||
|
||||
const favoritesTabContent: LibraryTabContent = {
|
||||
viewType: LibraryTab.Favorites,
|
||||
collectionType: CollectionType.Books,
|
||||
itemType: [BaseItemKind.Book]
|
||||
itemType: [BaseItemKind.AudioBook, BaseItemKind.Book]
|
||||
};
|
||||
|
||||
const booksTabMapping: LibraryTabMapping = {
|
||||
|
||||
@@ -57,7 +57,7 @@ export const getSuggestionSections = (): Section[] => {
|
||||
itemTypes: 'Book',
|
||||
type: SectionType.LatestBooks,
|
||||
parametersOptions: {
|
||||
includeItemTypes: [BaseItemKind.Book]
|
||||
includeItemTypes: [BaseItemKind.AudioBook, BaseItemKind.Book]
|
||||
},
|
||||
cardOptions: {
|
||||
overlayPlayButton: true,
|
||||
|
||||
Reference in new issue
Block a user