mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
store refactoring
This commit is contained in:
3
resources/js/store/modules/userAuth.js
vendored
3
resources/js/store/modules/userAuth.js
vendored
@@ -178,9 +178,6 @@ const mutations = {
|
||||
}
|
||||
})
|
||||
},
|
||||
PUSH_NEW_NOTIFICATION(state, notification) {
|
||||
state.user.data.relationships.unreadNotifications.data.push(notification)
|
||||
},
|
||||
FLUSH_NOTIFICATIONS(state) {
|
||||
state.user.data.relationships.readNotifications.data = []
|
||||
state.user.data.relationships.unreadNotifications.data = []
|
||||
|
||||
Reference in New Issue
Block a user