mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-05 22:46:27 +01:00
New data model for global search input and search page
This commit is contained in:
1 parent
30f15d3575
commit
ea9ec13845
16 files changed
+241
-88
No files matched your search
@@ -25,6 +25,9 @@ class Library {
|
||||
get folderPaths() {
|
||||
return this.folders.map(f => f.fullPath)
|
||||
}
|
||||
get itemMediaType() {
|
||||
return this.mediaType === 'podcast' ? 'podcast' : 'book'
|
||||
}
|
||||
|
||||
construct(library) {
|
||||
this.id = library.id
|
||||
|
||||
Reference in new issue
Block a user