Fix ordering of favourites timeline
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
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: #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
|
||||
if (timeline && !(timeline === 'bookmarks')) {
|
||||
if (timeline && !(['bookmarks', 'favorites'].includes(timeline))) {
|
||||
sortTimeline(timelineObject)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue