fix sequence sorting

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-09-29 11:09:17 +01:00
parent 48d9aa2c3e
commit 0f10ffa3c5

View file

@ -436,7 +436,7 @@ export default class MemberEventListSummary extends React.Component<IProps> {
// Sort types by order of lowest event index within sequence
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