Commit 151e2009 authored by Shpuld Shpludson's avatar Shpuld Shpludson

Merge branch 'fix/timeline-gaps-when-loading-older-after-showing-new' into 'develop'

Fix gaps in timeline when loading older after pressing show new

See merge request pleroma/pleroma-fe!670
parents 84164867 70d7ed36
......@@ -333,6 +333,7 @@ export const mutations = {
oldTimeline.newStatusCount = 0
oldTimeline.visibleStatuses = slice(oldTimeline.statuses, 0, 50)
oldTimeline.minVisibleId = last(oldTimeline.visibleStatuses).id
oldTimeline.minId = oldTimeline.minVisibleId
oldTimeline.visibleStatusesObject = {}
each(oldTimeline.visibleStatuses, (status) => { oldTimeline.visibleStatusesObject[status.id] = status })
},
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment