feat: Update notifications and unread count in real time (#4261)
This commit is contained in:
@@ -52,4 +52,8 @@ export const actions = {
|
||||
throw new Error(error);
|
||||
}
|
||||
},
|
||||
|
||||
addNotification({ commit }, data) {
|
||||
commit(types.ADD_NOTIFICATION, data);
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user