mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
- send notification to native user when file request was sent via email
- updated mysql dump
This commit is contained in:
5
resources/js/store/modules/uploadRequest.js
vendored
5
resources/js/store/modules/uploadRequest.js
vendored
@@ -59,7 +59,7 @@ const actions = {
|
||||
.delete(`/api/file-request/${router.currentRoute.params.token}`)
|
||||
.then((response) => {
|
||||
commit('LOADING_STATE', { loading: false, data: [] })
|
||||
commit('SET_UPLOAD_REQUEST', response.data)
|
||||
commit('SET_UPLOAD_REQUEST_AS_FILLED')
|
||||
})
|
||||
.catch(() => this.$isSomethingWrong())
|
||||
},
|
||||
@@ -69,6 +69,9 @@ const mutations = {
|
||||
SET_UPLOAD_REQUEST(state, payload) {
|
||||
state.uploadRequest = payload
|
||||
},
|
||||
SET_UPLOAD_REQUEST_AS_FILLED(state) {
|
||||
state.uploadRequest.data.attributes.status = 'filled'
|
||||
},
|
||||
}
|
||||
|
||||
const getters = {
|
||||
|
||||
Reference in New Issue
Block a user