From f87483feb7e52968fab37eee74546d10cbe39e52 Mon Sep 17 00:00:00 2001 From: dakkar Date: Sun, 21 Jan 2024 12:37:41 +0000 Subject: align Sk & Mk variants of components some whitespace, some types, a missing sound, and a probably wrong API URL --- packages/frontend/src/components/MkNoteSub.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'packages/frontend/src/components/MkNoteSub.vue') diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index fbc7a7f9ea..6deb1b855d 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -145,16 +145,16 @@ const isRenote = ( ); async function addReplyTo(replyNote: Misskey.entities.Note) { - replies.value.unshift(replyNote); - appearNote.value.repliesCount += 1; + replies.value.unshift(replyNote); + appearNote.value.repliesCount += 1; } async function removeReply(id: Misskey.entities.Note['id']) { - const replyIdx = replies.value.findIndex(note => note.id === id); - if (replyIdx >= 0) { - replies.value.splice(replyIdx, 1); - appearNote.value.repliesCount -= 1; - } + const replyIdx = replies.value.findIndex(note => note.id === id); + if (replyIdx >= 0) { + replies.value.splice(replyIdx, 1); + appearNote.value.repliesCount -= 1; + } } useNoteCapture({ -- cgit v1.2.3-freya