mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
broadcast new files to the frontend after file was remotely uploaded
This commit is contained in:
2
resources/js/store/modules/userAuth.js
vendored
2
resources/js/store/modules/userAuth.js
vendored
@@ -18,7 +18,7 @@ const actions = {
|
||||
commit('RETRIEVE_USER', response.data)
|
||||
commit('UPDATE_NOTIFICATION_COUNT', response.data.data.relationships.unreadNotifications.data.length)
|
||||
|
||||
if (! getters.isRunningConnection && getters.config.broadcasting === 'pusher') {
|
||||
if (! getters.isBroadcasting && getters.config.broadcasting === 'pusher') {
|
||||
dispatch('runConnection')
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user