Fix silent js errors when viewing comments

What does this MR do?

Closes: #229821 (closed)

Fixes console error when editing a note in the MR overview tab and in issues.

Screenshots

n/a

Does this MR meet the acceptance criteria?

Conformity

Edited by Justin Boyson

Merge request reports

Loading