mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
fix open Processing popup for download files
This commit is contained in:
@@ -105,5 +105,6 @@
|
|||||||
"/js/main.268e01e2707ba913b54a.hot-update.js": "/js/main.268e01e2707ba913b54a.hot-update.js",
|
"/js/main.268e01e2707ba913b54a.hot-update.js": "/js/main.268e01e2707ba913b54a.hot-update.js",
|
||||||
"/js/main.2a50a80f76caea55a33a.hot-update.js": "/js/main.2a50a80f76caea55a33a.hot-update.js",
|
"/js/main.2a50a80f76caea55a33a.hot-update.js": "/js/main.2a50a80f76caea55a33a.hot-update.js",
|
||||||
"/js/main.ade42529098f9d0de662.hot-update.js": "/js/main.ade42529098f9d0de662.hot-update.js",
|
"/js/main.ade42529098f9d0de662.hot-update.js": "/js/main.ade42529098f9d0de662.hot-update.js",
|
||||||
"/js/main.f79e25758f970137eb5d.hot-update.js": "/js/main.f79e25758f970137eb5d.hot-update.js"
|
"/js/main.f79e25758f970137eb5d.hot-update.js": "/js/main.f79e25758f970137eb5d.hot-update.js",
|
||||||
|
"/js/main.efbfa4aa474d3c507790.hot-update.js": "/js/main.efbfa4aa474d3c507790.hot-update.js"
|
||||||
}
|
}
|
||||||
|
|||||||
7
resources/js/store/modules/fileFunctions.js
vendored
7
resources/js/store/modules/fileFunctions.js
vendored
@@ -45,7 +45,10 @@ const actions = {
|
|||||||
? '/api/zip/public/' + router.currentRoute.params.token
|
? '/api/zip/public/' + router.currentRoute.params.token
|
||||||
: '/api/zip'
|
: '/api/zip'
|
||||||
|
|
||||||
commit('ZIPPING_FILE_STATUS', true)
|
commit('PROCESSING_POPUP', {
|
||||||
|
title: i18n.t('popup_zipping.title'),
|
||||||
|
message: i18n.t('popup_zipping.message'),
|
||||||
|
})
|
||||||
|
|
||||||
axios.post(route, {
|
axios.post(route, {
|
||||||
files: files
|
files: files
|
||||||
@@ -57,7 +60,7 @@ const actions = {
|
|||||||
Vue.prototype.$isSomethingWrong()
|
Vue.prototype.$isSomethingWrong()
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
commit('ZIPPING_FILE_STATUS', false)
|
commit('PROCESSING_POPUP', undefined)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
moveItem: ({ commit, getters, dispatch }, { to_item, noSelectedItem }) => {
|
moveItem: ({ commit, getters, dispatch }, { to_item, noSelectedItem }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user