diff --git a/packages/frontend/src/components/MkEmojiEditDialog.vue b/packages/frontend/src/components/MkEmojiEditDialog.vue index fd54b9d86e..056230f096 100644 --- a/packages/frontend/src/components/MkEmojiEditDialog.vue +++ b/packages/frontend/src/components/MkEmojiEditDialog.vue @@ -153,6 +153,7 @@ async function addRole() { async function removeRole(role, ev) { rolesThatCanBeUsedThisEmojiAsReaction = rolesThatCanBeUsedThisEmojiAsReaction.filter(x => x.id !== role.id); } + async function done() { const params = { name, diff --git a/packages/frontend/src/pages/about.emojis.vue b/packages/frontend/src/pages/about.emojis.vue index 1c8417cff5..e4cbc04709 100644 --- a/packages/frontend/src/pages/about.emojis.vue +++ b/packages/frontend/src/pages/about.emojis.vue @@ -74,6 +74,7 @@ let q = $ref(''); let searchEmojis = $ref(null); let selectedTags = $ref(new Set()); const requestEmojis = await os.apiGet('emoji-requests'); + function search() { if ((q === '' || q == null) && selectedTags.size === 0) { searchEmojis = null;