tab name changes, aypos button, removed area related tabs
This commit is contained in:
@@ -9,8 +9,8 @@ const notificationsReducer = (state = initialState, action) => {
|
||||
case "GET_QUICKNOTIFICATIONS":
|
||||
return {
|
||||
...state,
|
||||
getQuickNotifications: action.payload.getQuickNotifications,
|
||||
totalForQuick: action.payload.getQuickNotifications.filter(
|
||||
getQuickNotifications: action.payload.getQuickNotifications || [],
|
||||
totalForQuick: (action.payload.getQuickNotifications || []).filter(
|
||||
(notification) => notification.read === false
|
||||
).length,
|
||||
};
|
||||
@@ -25,7 +25,7 @@ const notificationsReducer = (state = initialState, action) => {
|
||||
case "GET_ALLNOTIFICATION":
|
||||
return {
|
||||
...state,
|
||||
notifications: action.payload.getAllNotifications,
|
||||
notifications: action.payload.getAllNotifications || [],
|
||||
};
|
||||
|
||||
case "GET_NOTIFICATIONREMOVE":
|
||||
|
||||
Reference in New Issue
Block a user