From 002f98987d8b26b7a86c5bb6505cefa439701a94 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 16 Jan 2023 10:51:51 +0000 Subject: [PATCH] fix --- packages/frontend/src/pages/custom-emojis-manager.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/custom-emojis-manager.vue b/packages/frontend/src/pages/custom-emojis-manager.vue index 00c736a6a..20b6c32e8 100644 --- a/packages/frontend/src/pages/custom-emojis-manager.vue +++ b/packages/frontend/src/pages/custom-emojis-manager.vue @@ -147,7 +147,7 @@ const edit = (emoji) => { ...result.updated, })); - if (customEmojis.value.some(e => e.name === emoji.name)) { + if (!customEmojis.value.some(e => e.name === emoji.name)) { customEmojis.value = [ { name: result.updated.name,