summaryrefslogtreecommitdiff
path: root/packages/frontend
diff options
context:
space:
mode:
author果物リン <fruitriin@riinswork.space>2025-10-08 17:40:19 +0900
committerGitHub <noreply@github.com>2025-10-08 17:40:19 +0900
commitd4df749f4faed051dbb40d67abe07411c4b13df8 (patch)
tree59b6d988eab2c1b844e55dfbef9c856ab982dfc5 /packages/frontend
parentadd note (diff)
downloadmisskey-d4df749f4faed051dbb40d67abe07411c4b13df8.tar.gz
misskey-d4df749f4faed051dbb40d67abe07411c4b13df8.tar.bz2
misskey-d4df749f4faed051dbb40d67abe07411c4b13df8.zip
絵文字の追加辞書をインストールすると絵文字ピッカーダイアログでユニコード絵文字が出てこないのを修正 (#16618)
* Fix: ユニコード絵文字の追加辞書をインストールするとユニコード絵文字が出てこなくなる * add change log * Update CHANGELOG.md Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com> --------- Co-authored-by: かっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>
Diffstat (limited to 'packages/frontend')
-rw-r--r--packages/frontend/src/components/MkEmojiPicker.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue
index 4ac65a5f45..452546375c 100644
--- a/packages/frontend/src/components/MkEmojiPicker.vue
+++ b/packages/frontend/src/components/MkEmojiPicker.vue
@@ -326,7 +326,7 @@ watch(q, () => {
for (const index of Object.values(store.s.additionalUnicodeEmojiIndexes)) {
for (const emoji of emojis) {
- if (keywords.every(keyword => index[emoji.char].some(k => k.includes(keyword)))) {
+ if (keywords.every(keyword => index[emoji.char]?.some(k => k.includes(keyword)))) {
matches.add(emoji);
if (matches.size >= max) break;
}
@@ -343,7 +343,7 @@ watch(q, () => {
for (const index of Object.values(store.s.additionalUnicodeEmojiIndexes)) {
for (const emoji of emojis) {
- if (index[emoji.char].some(k => k.startsWith(newQ))) {
+ if (index[emoji.char]?.some(k => k.startsWith(newQ))) {
matches.add(emoji);
if (matches.size >= max) break;
}
@@ -360,7 +360,7 @@ watch(q, () => {
for (const index of Object.values(store.s.additionalUnicodeEmojiIndexes)) {
for (const emoji of emojis) {
- if (index[emoji.char].some(k => k.includes(newQ))) {
+ if (index[emoji.char]?.some(k => k.includes(newQ))) {
matches.add(emoji);
if (matches.size >= max) break;
}