Handle "local source" as source with language "other"

Same as in mihon
This commit is contained in:
schroda
2024-09-30 03:38:49 +02:00
parent da1a9d9e31
commit b2abde638f
3 changed files with 31 additions and 18 deletions

View File

@@ -73,8 +73,6 @@ export const langSortCmp = (a: string, b: string) => {
if (a === 'en') return -1;
if (b === 'en') return 1;
if (a === DefaultLanguage.LOCAL_SOURCE) return 1;
if (b === DefaultLanguage.LOCAL_SOURCE) return -1;
return aLang > bLang ? 1 : -1;
};