forked from AkkomaGang/akkoma-fe
Merge branch 'fix-convos' into 'develop'
fix convos Closes #357 See merge request pleroma/pleroma-fe!575
This commit is contained in:
commit
40b51b659e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue