forked from AkkomaGang/akkoma-fe
Fix ordering of favourites timeline
The backend returns them order by when the post was favourited; reordering them by post date jumbles everything up each addition and serves no purpose. Fixes: AkkomaGang/akkoma-fe#391
This commit is contained in:
parent
ed0b403c33
commit
62e0dd858c
1 changed files with 1 additions and 1 deletions
|
@ -314,7 +314,7 @@ const addNewStatuses = (state, { statuses, showImmediately = false, timeline, us
|
||||||
})
|
})
|
||||||
|
|
||||||
// Keep the visible statuses sorted
|
// Keep the visible statuses sorted
|
||||||
if (timeline && !(timeline === 'bookmarks')) {
|
if (timeline && !(['bookmarks', 'favorites'].includes(timeline))) {
|
||||||
sortTimeline(timelineObject)
|
sortTimeline(timelineObject)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue