You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
fix sequence sorting
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -436,7 +436,7 @@ export default class MemberEventListSummary extends React.Component<IProps> {
|
|||||||
|
|
||||||
// Sort types by order of lowest event index within sequence
|
// Sort types by order of lowest event index within sequence
|
||||||
const orderedTransitionSequences = Object.keys(aggregate.names).sort(
|
const orderedTransitionSequences = Object.keys(aggregate.names).sort(
|
||||||
(seq1, seq2) => aggregate.indices[seq2] - aggregate.indices[seq1],
|
(seq1, seq2) => aggregate.indices[seq1] - aggregate.indices[seq2],
|
||||||
);
|
);
|
||||||
|
|
||||||
return <EventListSummary
|
return <EventListSummary
|
||||||
|
|||||||
Reference in New Issue
Block a user