store refactoring

This commit is contained in:
Čarodej
2022-04-13 16:26:11 +02:00
parent 338f8664b7
commit cd5af37bfe
5 changed files with 1 additions and 16 deletions

View File

@@ -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 = []