forked from AkkomaGang/akkoma-fe
fix convos
This commit is contained in:
parent
d6f9f34ad8
commit
688906a61e
1 changed files with 2 additions and 2 deletions
|
@ -9,9 +9,9 @@ const sortById = (a, b) => {
|
|||
if (isSeqA && isSeqB) {
|
||||
return seqA < seqB ? -1 : 1
|
||||
} else if (isSeqA && !isSeqB) {
|
||||
return 1
|
||||
} else if (!isSeqA && isSeqB) {
|
||||
return -1
|
||||
} else if (!isSeqA && isSeqB) {
|
||||
return 1
|
||||
} else {
|
||||
return a.id < b.id ? -1 : 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue