Fix bug commenting LFS images and displaying LFS files
What does this MR do?
This MR fixes a problem when commenting on image LFS files.
It also fixes a bug where the content of the other type of LFS file was displayed when it shouldn't.
What are the relevant issue numbers?
Closes #43783 (closed)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process. -
Security reports checked/validated by reviewer
Edited by Francisco Javier López (ex-Gitlab)