mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-08-12 06:04:33 +00:00
Sort emoji categories consistently
This commit is contained in:
parent
f5d6bdc651
commit
ba18fbf6fe
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export const customEmojiCategories = computed<[ ...string[], null ]>(() => {
|
||||||
categories.add(emoji.category);
|
categories.add(emoji.category);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return markRaw([...Array.from(categories), null]);
|
return markRaw([...Array.from(categories).sort(), null]);
|
||||||
});
|
});
|
||||||
|
|
||||||
export function compareBySortKey(a: Misskey.entities.EmojiSimple, b: Misskey.entities.EmojiSimple): number {
|
export function compareBySortKey(a: Misskey.entities.EmojiSimple, b: Misskey.entities.EmojiSimple): number {
|
||||||
|
|
Loading…
Add table
Reference in a new issue