Skip to content

Resolve "User "cannot merge" an issue 馃"

Natalia Tepluhina requested to merge 299457-user-cannot-merge-an-issue into master

What does this MR do?

Previously, when the user was loading a design via the direct link and then closing a design, issue assignees were given a cannot merge badge. This happened due to the wrong issuableType prop: we were checking if we are on the issue page but designs page was not matching the condition, thus issuableType was set to merge_request.

This MR adds a check for design page and sets a correct issuable type for it.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Related to #299457 (closed)

Edited by Natalia Tepluhina

Merge request reports

Loading