mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-01-30 06:49:39 +00:00
Lazy bookshelf, api routes for categories and filter data
This commit is contained in:
parent
4587916c8e
commit
5c92aef048
26 changed files with 1354 additions and 332 deletions
|
|
@ -25,7 +25,7 @@ export const getters = {
|
|||
return state.user && state.user.audiobooks ? state.user.audiobooks[audiobookId] || null : null
|
||||
},
|
||||
getUserSetting: (state) => (key) => {
|
||||
return state.settings ? state.settings[key] || null : null
|
||||
return state.settings ? state.settings[key] : null
|
||||
},
|
||||
getUserCanUpdate: (state) => {
|
||||
return state.user && state.user.permissions ? !!state.user.permissions.update : false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue