This commit is contained in:
tamaina 2023-01-22 12:57:51 +00:00
parent a8b19f4aa8
commit a5f54580a9

View file

@ -32,7 +32,7 @@ const url = computed(() => {
if (char.value) {
return char2path(char.value);
} else if (props.host == null && !customEmojiName.includes('@')) {
const found = customEmojis.find(x => x.name === customEmojiName);
const found = customEmojis.value.find(x => x.name === customEmojiName);
return found ? found.url : null;
} else {
const rawUrl = props.host ? `/emoji/${customEmojiName}@${props.host}.webp` : `/emoji/${customEmojiName}.webp`;