TESTING - Notification logs - 3
TESTING - Notification logs - 3
This commit is contained in:
parent
087ad23bff
commit
e1e6e07ea8
@ -69,6 +69,7 @@ const makeSortedNotifications = (state) => {
|
||||
let indexesForStatusesForFavorites = {}
|
||||
|
||||
chunk.forEach((notification) => {
|
||||
if (!!notification) {
|
||||
const statusId = notification.get('status')
|
||||
const type = notification.get('type')
|
||||
|
||||
@ -156,9 +157,10 @@ const makeSortedNotifications = (state) => {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
finalSortedItems = finalSortedItems.concat(sortedItems)
|
||||
if (sortedItems.size > 0) finalSortedItems = finalSortedItems.concat(sortedItems)
|
||||
})
|
||||
|
||||
return state.set('sortedItems', finalSortedItems)
|
||||
|
Loading…
x
Reference in New Issue
Block a user