Don't render discussion notes when requesting diff tab through AJAX
What does this MR do?
Don't render MR notes/discussion when users request the content of other tabs
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
To try to speed up merge request pages #14202 (moved)
What are the relevant issue numbers?
#14202 (moved) , #19490 (closed)
Does this MR meet the acceptance criteria?
-
CHANGELOG entry added [ ] Documentation created/updated[ ] API support added- Tests
[ ] Added for this feature/bug-
All builds are passing
-
Conform by the style guides -
Branch has no merge conflicts with master
(if you do - rebase it please) -
Squashed related commits together