Updated checks for Follows tab in Notifications
• Updated: - checks for Follows tab in Notifications
This commit is contained in:
parent
e37876aa86
commit
cfa9aa0e74
@ -121,9 +121,14 @@ class Notifications extends ImmutablePureComponent {
|
||||
} else if ((sortedNotifications.size > 0 || hasMore) && selectedFilter === 'follow') {
|
||||
const followNotifications = []
|
||||
sortedNotifications.forEach((block) => {
|
||||
block.get('follow').forEach((item) => {
|
||||
followNotifications.push(item)
|
||||
})
|
||||
if (block) {
|
||||
const followBlock = block.get('follow')
|
||||
if (followBlock && followBlock.size > 0) {
|
||||
followBlock.forEach((item) => {
|
||||
followNotifications.push(item)
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
scrollableContent = followNotifications.map((item, index) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user