tab name changes, aypos button, removed area related tabs

This commit is contained in:
2025-07-28 23:34:22 +03:00
parent a58e010561
commit 259a4804ff
13 changed files with 55 additions and 193 deletions

View File

@@ -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":