- send notification to native user when file request was sent via email

- updated mysql dump
This commit is contained in:
Čarodej
2022-05-18 09:50:21 +02:00
parent 3c28da2613
commit aa30b519fa
9 changed files with 84 additions and 12 deletions

View File

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