We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c4db14 commit 2d737aaCopy full SHA for 2d737aa
1 file changed
src/Notifications/data/thunks.js
@@ -66,12 +66,7 @@ export const fetchAppsNotificationCount = () => (
66
dispatch(fetchNotificationsCountRequest());
67
const data = await getNotificationCounts();
68
const normalisedData = normalizeNotificationCounts((camelCaseObject(data)));
69
- dispatch(fetchNotificationsCountSuccess({
70
- ...normalisedData,
71
- countByAppName: data.countByAppName,
72
- count: data.count,
73
- showNotificationsTray: data.showNotificationsTray,
74
- }));
+ dispatch(fetchNotificationsCountSuccess({ ...normalisedData }));
75
} catch (error) {
76
if (getHttpErrorStatus(error) === 403) {
77
dispatch(fetchNotificationsCountDenied());
0 commit comments