TESTING - Notification logs - 2

TESTING - Notification logs - 2
This commit is contained in:
mgabdev 2020-05-22 02:42:04 -04:00
parent c280c102b6
commit 087ad23bff

View File

@ -183,7 +183,8 @@ const expandNormalizedNotifications = (state, notifications, next) => {
let items = ImmutableList() let items = ImmutableList()
notifications.forEach((n, i) => { notifications.forEach((n, i) => {
items = items.set(i, notificationToMap(n)) const noti = notificationToMap(n)
if (!!noti) items = items.set(items.size, noti)
}) })
state = state.withMutations((mutable) => { state = state.withMutations((mutable) => {