From b79eed01e0af569cfb2ab2db5dbf1f8801529c84 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 7 Nov 2020 10:56:38 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B5=B5=E6=96=87=E5=AD=97=E3=83=94=E3=83=83?= =?UTF-8?q?=E3=82=AB=E3=83=BC=E3=81=AE=E6=A4=9C=E7=B4=A2=E3=81=AB=E7=B5=B5?= =?UTF-8?q?=E6=96=87=E5=AD=97=E3=82=92=E3=83=9A=E3=83=BC=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=81=97=E3=81=9F=E3=81=A8=E3=81=8D=E7=A2=BA=E5=AE=9A=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=AA=E3=81=84=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/components/emoji-picker.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/emoji-picker.vue b/src/client/components/emoji-picker.vue index 12f770205d..394387c012 100644 --- a/src/client/components/emoji-picker.vue +++ b/src/client/components/emoji-picker.vue @@ -310,7 +310,7 @@ export default defineComponent({ this.chosen(exactMatchCustom); return true; } - const exactMatchUnicode = this.emojilist.find(e => e.name === q); + const exactMatchUnicode = this.emojilist.find(e => e.char === q || e.name === q); if (exactMatchUnicode) { this.chosen(exactMatchUnicode); return true;