mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-12 19:44:53 +00:00
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: https://akkoma.dev/AkkomaGang/akkoma-fe/issues/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