mirror of
https://github.com/sim1222/misskey.git
synced 2025-04-29 02:37:22 +09:00
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) => {
|
||||
console.log('importEmoji', emojiName);
|
||||
const emojiId = await getEmojiId(emojiName);
|
||||
console.log('emojiId: ', await emojiId);
|
||||
if (!await emojiId) return;
|
||||
@ -114,6 +115,7 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string) {
|
||||
type: 'warning',
|
||||
text: '同じ名前の絵文字が存在します。インポートしますか?',
|
||||
}).then(canceled => {
|
||||
console.log(canceled);
|
||||
if (canceled) return;
|
||||
importEmoji(reaction);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user