mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-03 09:34:51 +02:00
This commit is contained in:
parent
6a8d901ce1
commit
b4bb6bf81b
7 changed files with 64 additions and 22 deletions
|
@ -1,4 +1,5 @@
|
|||
export const state = () => ({
|
||||
isModalOpen: false,
|
||||
itemDownloads: [],
|
||||
bookshelfListView: false,
|
||||
series: null,
|
||||
|
@ -93,6 +94,9 @@ export const actions = {
|
|||
}
|
||||
|
||||
export const mutations = {
|
||||
setIsModalOpen(state, val) {
|
||||
state.isModalOpen = val
|
||||
},
|
||||
addUpdateItemDownload(state, downloadItem) {
|
||||
var index = state.itemDownloads.findIndex(i => i.id == downloadItem.id)
|
||||
if (index >= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue