mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-06 20:08:48 +02:00
Add custom headers modal and model
This commit is contained in:
@@ -22,6 +22,9 @@ export const getters = {
|
||||
getServerAddress: (state) => {
|
||||
return state.serverConnectionConfig ? state.serverConnectionConfig.address : null
|
||||
},
|
||||
getCustomHeaders: (state) => {
|
||||
return state.serverConnectionConfig ? state.serverConnectionConfig.customHeaders : null
|
||||
},
|
||||
getUserMediaProgress: (state) => (libraryItemId, episodeId = null) => {
|
||||
if (!state.user || !state.user.mediaProgress) return null
|
||||
return state.user.mediaProgress.find(li => {
|
||||
|
||||
Reference in New Issue
Block a user