mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-10 09:24:56 +02:00
Add:Podcast search page
This commit is contained in:
parent
a907c88f66
commit
c6eb1096e8
6 changed files with 170 additions and 46 deletions
|
@ -18,6 +18,10 @@ export const getters = {
|
|||
if (!currentLibrary) return ''
|
||||
return currentLibrary.name
|
||||
},
|
||||
getCurrentLibraryMediaType: (state, getters) => {
|
||||
if (!getters.getCurrentLibrary) return null
|
||||
return getters.getCurrentLibrary.mediaType
|
||||
},
|
||||
getSortedLibraries: state => () => {
|
||||
return state.libraries.map(lib => ({ ...lib })).sort((a, b) => a.displayOrder - b.displayOrder)
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue