fixx?????

This commit is contained in:
Henry Jameson 2019-01-16 18:52:30 +03:00
parent 7d15720339
commit 387bf794ff
1 changed files with 1 additions and 0 deletions

View File

@ -289,6 +289,7 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot
const allStatuses = state.allStatuses const allStatuses = state.allStatuses
const allStatusesObject = state.allStatusesObject const allStatusesObject = state.allStatusesObject
each(notifications, (notification) => { each(notifications, (notification) => {
notification.notice.id = String(notification.notice.id)
const result = mergeOrAdd(allStatuses, allStatusesObject, notification.notice) const result = mergeOrAdd(allStatuses, allStatusesObject, notification.notice)
const action = result.item const action = result.item
// For sequential IDs BE passes numbers as numbers, we want them as strings. // For sequential IDs BE passes numbers as numbers, we want them as strings.