Fix Create issue button does nothing when group has no projects

What does this MR do and why?

Fix: Seeing the "Create issue" instead of "New project" in issue list when consolidated list is disabled under Premium/Ulimate and group has no projects. This leads to doing nothing when clicking create issue as there are no projects, it should either render "New project".

Screenshots or screen recordings

Before After
Screenshot_2025-12-15_at_12.23.05_PM Screenshot_2025-12-15_at_12.22.48_PM

How to set up and validate locally

  1. Disabled work_items_consolidated_list_user
  2. Create ultimate/premium group without any project.
  3. Visit to group issues
  4. Verify "New project" button instead of "Create issue".

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #583517 (closed)

Merge request reports

Loading
Loading