Fix linking to unresolved/expanded diff note
What does this MR do?
- When linking to a note on the diffs tab that is unresolved and expanded by default, we will no longer collapse it accidentally.
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
- When linking to a note on the diffs tab that is unresolved and expanded by default, we accidentally collapse it.
- Bug introduced in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11327
Does this MR meet the acceptance criteria?
- Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #32424 (closed)
Edited by username-removed-892863