wuip
This commit is contained in:
parent
38e8d2cdb5
commit
2be42c0e4b
@ -60,6 +60,7 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const importEmoji = async (emojiName: string) => {
|
const importEmoji = async (emojiName: string) => {
|
||||||
|
console.log('importEmoji', emojiName);
|
||||||
const emojiId = await getEmojiId(emojiName);
|
const emojiId = await getEmojiId(emojiName);
|
||||||
console.log('emojiId: ', await emojiId);
|
console.log('emojiId: ', await emojiId);
|
||||||
if (!await emojiId) return;
|
if (!await emojiId) return;
|
||||||
@ -114,6 +115,7 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string) {
|
|||||||
type: 'warning',
|
type: 'warning',
|
||||||
text: '同じ名前の絵文字が存在します。インポートしますか?',
|
text: '同じ名前の絵文字が存在します。インポートしますか?',
|
||||||
}).then(canceled => {
|
}).then(canceled => {
|
||||||
|
console.log(canceled);
|
||||||
if (canceled) return;
|
if (canceled) return;
|
||||||
importEmoji(reaction);
|
importEmoji(reaction);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user