mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
closes https://linear.app/ghost/issue/PLG-303 - when deleting a reply our "replies left" calculation was getting out of sync because the `count.replies` state on the parent comment wasn't being updated, the result was for each comment deleted we were displaying 1 more reply that was still to load - updated the `deleteComment` action to also modify the parent comment's `count.replies` value when a reply was deleted ensuring our "replies left" calculation remains correct |
||
---|---|---|
.. | ||
actions.test.ts | ||
admin-moderation.test.ts | ||
autoclose-forms.test.ts | ||
content.test.ts | ||
cta.test.ts | ||
editor.test.ts | ||
labs.test.ts | ||
lazy-loading.test.ts | ||
main-form.test.ts | ||
options.test.ts | ||
pagination.test.ts |