diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 1ff05fd318..a793a85ff9 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -374,14 +374,14 @@ const reactionsPagination = computed(() => ({ async function addReplyTo(replyNote: Misskey.entities.Note) { replies.value.unshift(replyNote); - appearNote.repliesCount += 1; + 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.repliesCount -= 1; + appearNote.value.repliesCount -= 1; } } diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index d1e45b30bb..887a9b5c45 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -144,14 +144,14 @@ const isRenote = ( async function addReplyTo(replyNote: Misskey.entities.Note) { replies.value.unshift(replyNote); - appearNote.repliesCount += 1; + 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.repliesCount -= 1; + appearNote.value.repliesCount -= 1; } } diff --git a/packages/frontend/src/components/SkNoteDetailed.vue b/packages/frontend/src/components/SkNoteDetailed.vue index 06783f7fff..df0259a2c7 100644 --- a/packages/frontend/src/components/SkNoteDetailed.vue +++ b/packages/frontend/src/components/SkNoteDetailed.vue @@ -382,14 +382,14 @@ const reactionsPagination = computed(() => ({ async function addReplyTo(replyNote: Misskey.entities.Note) { replies.value.unshift(replyNote); - appearNote.repliesCount += 1; + 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.repliesCount -= 1; + appearNote.value.repliesCount -= 1; } } diff --git a/packages/frontend/src/components/SkNoteSub.vue b/packages/frontend/src/components/SkNoteSub.vue index bee4074bd0..5928b2676c 100644 --- a/packages/frontend/src/components/SkNoteSub.vue +++ b/packages/frontend/src/components/SkNoteSub.vue @@ -153,14 +153,14 @@ const isRenote = ( async function addReplyTo(replyNote: Misskey.entities.Note) { replies.value.unshift(replyNote); - appearNote.repliesCount += 1; + 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.repliesCount -= 1; + appearNote.value.repliesCount -= 1; } }