Design links on issue display "lock merge request"

Summary

Issue showing option to "Lock merge request" instead of "Lock issue"

Steps to reproduce

  • Open an issue directly from a design link
  • Close issue design
  • Look on right panel the "Lock merge request"

Example Project

  • Click here or click here for open design directly
  • close it, and look on right

What is the current bug behavior?

After closing design widget, you can try locking a merge request on issue 🙇

What is the expected correct behavior?

display "lock issue", not "lock merge request"

Relevant logs and/or screenshots

Output of checks

This bug happens on GitLab.com . found when writing #231664 (closed)

Edited by Æx