mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 00:02:15 +00:00
- send notification to native user when file request was sent via email
- updated mysql dump
This commit is contained in:
@@ -82,6 +82,20 @@
|
||||
</span>
|
||||
<chevron-right-icon size="16" class="text-theme vue-feather" />
|
||||
</router-link>
|
||||
|
||||
<!--Open Link-->
|
||||
<a
|
||||
@click.native="closeCenter"
|
||||
v-if="action && action.type === 'url'"
|
||||
:target="action.params.target === 'blank' ? '_blank' : '_self'"
|
||||
:href="action.params.url"
|
||||
class="mt-4 flex items-center"
|
||||
>
|
||||
<span class="mr-2 whitespace-nowrap text-xs font-bold">
|
||||
{{ action.params.button }}
|
||||
</span>
|
||||
<chevron-right-icon size="16" class="text-theme vue-feather" />
|
||||
</a>
|
||||
</div>
|
||||
</article>
|
||||
</template>
|
||||
|
||||
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