This commit is contained in:
syuilo 2023-05-19 09:48:48 +09:00
parent 59255e11b8
commit f68c743f39
1 changed files with 2 additions and 0 deletions

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({