mirror of https://github.com/vector-im/riot-web
fix sequence sorting
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
48d9aa2c3e
commit
0f10ffa3c5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue