Fix empty state problem for pipeline schedules refactor
What does this MR do and why?
When testing the rollout of pipeline_schedules_vue
on a personal project. I found that when navigating to tabs that did not have data the empty state was shown. This MR fixes that issue to only show empty state when on the default tab scope.
Related epic: &6189 (closed)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- In rails console enable the experiment fully
Feature.enable(:pipeline_schedules_vue)
- Visit project with pipeline schedules (have one active and not inactive)
- Ensure empty state does not show on inactive tab
- Visit blank project, ensure empty state shows when visiting the schedules
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Payton Burdette