mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2025-01-11 22:45:28 +01:00
fixx?????
This commit is contained in:
parent
7d15720339
commit
387bf794ff
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user