Auto toggle hide discussions after it is resolved
## Summary
There is a UX inconsistency in the MR discussions. When you have more than 1 discussion inside a MR and you decide to resolve one of them, that discussion does not get toggled (hidden). But when you refresh the page, the discussion that was resolved becomes hidden.
## Steps to reproduce
1. Go to a MR with more than 1 discussion
2. Resolve 1 discussion (notice how the discussion does not hide/toggle)
3. Refresh page (notice how the discussion is now hidden)
## Expected behavior
Discussion should be hidden after it is resolved to stay consistent with the UX when the page is refreshed
## Relevant logs and/or screenshots
Step 1 (MR with more than 1 discussion)

Step 2 (Resolve discussion, discussion is not hidden)

Step 3 (Refresh page, discussion is now hidden)

issue