mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 00:16:44 -06:00
frontend: removed auto count+1 in MkPostForm
This commit is contained in:
parent
d194d4e247
commit
be80b377cc
1 changed files with 0 additions and 6 deletions
|
@ -916,12 +916,6 @@ async function post(ev?: MouseEvent) {
|
||||||
}
|
}
|
||||||
nextTick(() => {
|
nextTick(() => {
|
||||||
deleteDraft();
|
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');
|
emit('posted');
|
||||||
if (postAccount.value != null ? postAccount.value.id : null) {
|
if (postAccount.value != null ? postAccount.value.id : null) {
|
||||||
postAccount.value = null;
|
postAccount.value = null;
|
||||||
|
|
Loading…
Reference in a new issue