From be80b377cc657cc5737cdecbb520765a1e93e94a Mon Sep 17 00:00:00 2001 From: fly_mc Date: Thu, 21 Nov 2024 22:01:42 +0800 Subject: [PATCH] frontend: removed auto count+1 in MkPostForm --- packages/frontend/src/components/MkPostForm.vue | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index cf1ed9fcd..a730aed21 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -916,12 +916,6 @@ async function post(ev?: MouseEvent) { } nextTick(() => { deleteDraft(); - if (props.reply) { - props.reply.repliesCount = (props.reply.repliesCount || 0) + 1; - } - if (props.quote) { - props.renote.renoteCount = (props.renote.renoteCount || 0) + 1; - } emit('posted'); if (postAccount.value != null ? postAccount.value.id : null) { postAccount.value = null;