TESTING - Notification logs - 3
TESTING - Notification logs - 3
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user