1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 06:06:16 +02:00
This commit is contained in:
syuilo
2023-05-19 09:48:48 +09:00
parent 59255e11b8
commit f68c743f39

View File

@@ -38,6 +38,8 @@ const canToggle = computed(() => !props.reaction.match(/@\w/) && $i);
async function toggleReaction() {
if (!canToggle.value) return;
// TODO: その絵文字を使う権限があるかどうか確認
const oldReaction = props.note.myReaction;
if (oldReaction) {
const confirm = await os.confirm({