Fix empty state logic for pipelines refactor

What does this MR do and why?

Fixes issue where pipeline controls were showing for empty state.

References

Screenshots or screen recordings

Before After
Screenshot_2025-11-12_at_2.05.44_PM Screenshot_2025-11-12_at_2.06.16_PM

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.

Related to #223264

Merge request reports

Loading