Skip to content
Snippets Groups Projects
Unverified Commit e18390cf authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix bug in order of conversations in web UI (#7721)

parent 22caa32b
No related branches found
No related tags found
No related merge requests found
......@@ -77,9 +77,12 @@ const makeMapStateToProps = () => {
let id = ids.shift();
const replies = state.getIn(['contexts', 'replies', id]);
if (status.get('id') !== id) {
mutable.push(id);
}
if (replies) {
replies.forEach(reply => {
mutable.push(reply);
replies.reverse().forEach(reply => {
ids.unshift(reply);
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment