mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-08 21:08:43 +02:00
Add bookshelf list view
This commit is contained in:
+5
-1
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user