mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-09 15:24:55 +02:00
Add:Podcast search page
This commit is contained in:
@ -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)
|
||||
},
|
||||
|
Reference in New Issue
Block a user