Fix pipeline schedules tab status params
Problem
If you toggle the status tabs on pipeline schedules and end back up on All
the query param is ?scope=0
. If you then refresh then we get a query error. This is because status
does not accept a value of 0
.
Solution
We need to make sure we send null
for the status param in this use-case. I think the bulk of the problem is using query-param-value
prop with gl-tab
component in app/assets/javascripts/ci/pipeline_schedules/components/pipeline_schedules.vue
but will need more investigation.
Edited by Payton Burdette