1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-20 01:29:02 +09:00

絵文字ピッカーの検索に絵文字をペーストしたとき確定されないのを修正

This commit is contained in:
syuilo 2020-11-07 10:56:38 +09:00
parent 3a7dbe9764
commit b79eed01e0

View File

@ -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;