Fix tab count on tab switch (jobs table/tabs)
What does this MR do and why?
Solves #409545 (closed)
Fixes wrong job count when tab is switched in a certain way
How to set up and validate locally
- Go to
any project > CI/CD > Jobs
- Filter a job status, count should change accordingly.
- Switch to the
finished
tab, count stays as it is in taball
- Switch to the
all
tab, count should be refeteched/recalculated since filter does not apply anymore. - Try to reproduce what I showed in the video #409545 (closed) (ideally it should not be possible anymore)
- Make sure to enable FF
Feature.enable(:admin_jobs_vue)
- Do the same for
Admin > CI/CD > Jobs
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.