Fix:Set ebookFormat on scans #2126

This commit is contained in:
advplyr 2023-09-19 15:42:38 -05:00
parent 604f52762b
commit 9967a5dc66
4 changed files with 6 additions and 4 deletions

View file

@ -102,7 +102,7 @@ class LibraryItemScanData {
return this.libraryFiles.filter(lf => globals.SupportedImageTypes.includes(lf.metadata.ext?.slice(1).toLowerCase() || ''))
}
/** @type {LibraryItem.LibraryFileObject[]} */
/** @type {import('../objects/files/LibraryFile')[]} */
get ebookLibraryFiles() {
return this.libraryFiles.filter(lf => globals.SupportedEbookTypes.includes(lf.metadata.ext?.slice(1).toLowerCase() || ''))
}