Fix showing import button on empty issue list page

What does this MR do and why?

Fix showing import button on empty issue list page

This fixes a bug where the "Import Issues" button no longer showed up when a project had no issues. It also only shows "New Project" on the empty state when on the empty group issue list.

This bug is only visible when work_items_project_issues_list is enabled (which got enabled by default recently Default enable work_items_project_issues_list (!204139 - merged)).

Changelog: fixed

References

Screenshots or screen recordings

Before After
Screenshot_2025-09-12_at_13.37.49 Screenshot_2025-09-12_at_15.09.55

How to set up and validate locally

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.

Edited by John McDonnell

Merge request reports

Loading