fix convos

This commit is contained in:
Henry Jameson 2019-02-14 00:11:11 +02:00
parent d6f9f34ad8
commit 688906a61e

View file

@ -9,9 +9,9 @@ const sortById = (a, b) => {
if (isSeqA && isSeqB) { if (isSeqA && isSeqB) {
return seqA < seqB ? -1 : 1 return seqA < seqB ? -1 : 1
} else if (isSeqA && !isSeqB) { } else if (isSeqA && !isSeqB) {
return 1
} else if (!isSeqA && isSeqB) {
return -1 return -1
} else if (!isSeqA && isSeqB) {
return 1
} else { } else {
return a.id < b.id ? -1 : 1 return a.id < b.id ? -1 : 1
} }