mirror of
https://codeberg.org/yeentown/barkey
synced 2025-03-23 16:47:46 +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);
|
||||
}
|
||||
}
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue