mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-05-25 15:15:27 +00:00
commit
3233a2a078
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ export const getters = {
|
|||
})
|
||||
},
|
||||
getUserBookmarksForItem: (state) => (libraryItemId) => {
|
||||
if (!state.user.bookmarks) return []
|
||||
if (!state?.user?.bookmarks) return []
|
||||
return state.user.bookmarks.filter(bm => bm.libraryItemId === libraryItemId)
|
||||
},
|
||||
getUserSetting: (state) => (key) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue