MR keyboard shortcuts n and p throw a console error if there are no discussions
requested to merge 213638-mr-keyboard-shortcuts-n-and-p-throw-a-console-error-if-there-are-no-discussions into master
What does this MR do and why?
Fixes the thrown console error if there aren't any discussions in a merge request.
Screenshots or screen recordings
How to set up and validate locally
- Open an MR with discussions:
n
&p
work - Open an MR without discussions:
n
&p
don't through an error
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #213638 (closed)