Fix:Back button to close modal #267 and back button to minimize fullscreen player #267

This commit is contained in:
advplyr 2022-07-04 15:42:59 -05:00
parent 6a8d901ce1
commit b4bb6bf81b
7 changed files with 64 additions and 22 deletions

View file

@ -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) {