mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 06:09:02 +02:00
Merge pull request #16370 from overleaf/dk-fix-project-sorting
Fix sort projects by owner GitOrigin-RevId: 2108d57588071a2884a3eed4e8a917de46cfe749
This commit is contained in:
committed by
Copybot
parent
ebd2a2f5fe
commit
62cffcd909
@@ -49,9 +49,7 @@ export const ownerNameComparator = (v1: Project, v2: Project) => {
|
||||
return Compare.SORT_A_AFTER_B
|
||||
}
|
||||
|
||||
return ownerNameV1 > ownerNameV2
|
||||
? Compare.SORT_A_BEFORE_B
|
||||
: Compare.SORT_A_AFTER_B
|
||||
return ownerNameV1.localeCompare(ownerNameV2)
|
||||
}
|
||||
|
||||
export const defaultComparator = (
|
||||
|
||||
Reference in New Issue
Block a user