Fix query param issue when switching tabs - Pipeline schedules refactor
What does this MR do and why?
gl-tabs
adds "0" to the query param value when passed null
. This resulted in the value being sent up on refresh after being on the All
tab and breaking the query. This MR adds a temporary ALL
identifier for the all tab query value and removes it before sending the query up. Fixes the bug.
Screenshots or screen recordings
How to set up and validate locally
- Enable the feature flag
Feature.enable(:pipeline_schedules_vue)
- Visit
Project > Build > Pipeline schedules
- Click the active tab, click back to the all tab
- Refresh the 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #416571 (closed)
Edited by Payton Burdette