User Dashboard project counts include archived projects, which aren't listed
Summary
The user Dashboard page's lists of projects (e.g. "Your Projects" or "Starred Projects") include archived projects in the count displayed on each tab. But those projects aren't included in the listing, making the count inconsistent with the displayed list.
Steps to reproduce
- Create a new project on gitlab.com
- Star the project
- Archive the project
- Visit https://gitlab.com/dashboard/projects
Example Project
https://gitlab.com/ferdnyc/dashboard_bug_example
What is the current bug behavior?
The lists at https://gitlab.com/dashboard/projects/ are the same, but the counts displayed on the tabs have been incremented.
What is the expected correct behavior?
The count should decrement when the project is archived, since it's no longer included in the list.
Relevant logs and/or screenshots
(The off-by-two count includes both the organically-archived third-party project which initially surfaced the bug — https://gitlab.com/jenslody/gnome-shell-extension-openweather —, plus the example project above which I just created.)
(That count, off-by-one, includes only the example project created for this report.)
Output of checks
This bug happens on GitLab.com