mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-03 17:44:51 +02:00
Add bookshelf list view
This commit is contained in:
parent
119bfd6c98
commit
105451ebf1
8 changed files with 471 additions and 255 deletions
|
@ -1,5 +1,6 @@
|
|||
export const state = () => ({
|
||||
itemDownloads: []
|
||||
itemDownloads: [],
|
||||
bookshelfListView: false
|
||||
})
|
||||
|
||||
export const getters = {
|
||||
|
@ -41,5 +42,8 @@ export const mutations = {
|
|||
},
|
||||
removeItemDownload(state, id) {
|
||||
state.itemDownloads = state.itemDownloads.filter(i => i.id != id)
|
||||
},
|
||||
setBookshelfListView(state, val) {
|
||||
state.bookshelfListView = val
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue