mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 14:53:08 +02:00
remove console.log
This commit is contained in:
parent
0cffe60abc
commit
0d44129ae3
2 changed files with 0 additions and 5 deletions
|
@ -33,7 +33,6 @@ const url = computed(() => {
|
||||||
return char2path(char.value);
|
return char2path(char.value);
|
||||||
} else if (props.host == null && !customEmojiName.value.includes('@')) {
|
} else if (props.host == null && !customEmojiName.value.includes('@')) {
|
||||||
const found = customEmojis.value.find(x => x.name === customEmojiName.value);
|
const found = customEmojis.value.find(x => x.name === customEmojiName.value);
|
||||||
console.log(found)
|
|
||||||
return found ? found.url : null;
|
return found ? found.url : null;
|
||||||
} else {
|
} else {
|
||||||
const rawUrl = props.host ? `/emoji/${customEmojiName.value}@${props.host}.webp` : `/emoji/${customEmojiName.value}.webp`;
|
const rawUrl = props.host ? `/emoji/${customEmojiName.value}@${props.host}.webp` : `/emoji/${customEmojiName.value}.webp`;
|
||||||
|
|
|
@ -14,10 +14,6 @@ export const customEmojiCategories = computed<string[]>(() => {
|
||||||
return markRaw(Array.from(categories));
|
return markRaw(Array.from(categories));
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(customEmojis, (newVal) => {
|
|
||||||
console.log('new', newVal)
|
|
||||||
});
|
|
||||||
|
|
||||||
stream.on('emojiAdded', emojiData => {
|
stream.on('emojiAdded', emojiData => {
|
||||||
customEmojis.value = [ emojiData.emoji, ...customEmojis.value ];
|
customEmojis.value = [ emojiData.emoji, ...customEmojis.value ];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue