Skip to content

Cleanup project_select_button conditions

Paul Gascou-Vaillancourt requested to merge 374098-cleanup-conditions into master

What does this MR do and why?

This removes the code associated to the project_select_button local assign in a few views. In the event project_select_button evaluated to true, we would render a project selector in a couple empty states. However, project_select_button was never actually true, so there is no reason to keep those conditions in the code.

Screenshots or screen recordings

No visual change.

How to set up and validate locally

The affected empty states would be the instance-level issues dashboard and a group's merge requests page.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #374098 (closed)

Merge request reports