Issues count badge can show -1
Summary
The Issues badge in the menu on the left can show (-1) count. There cannot be negative count of issues.
Steps to reproduce
- Create a fresh project
- Send yourself a customer support request to the Service Desk.
- -- Note the Issues badge shows (0)
- Open the support request and Close the issue.
- -- Note the Issues badge shows (-1)
What is the current bug behavior?
The Issues menu item can show a badge with negative count.
What is the expected correct behavior?
The Issues menu item should show a badge count of 0.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
N/A
Results of GitLab application Check
N/A
Possible fixes
Can't suggest a fix right now, I apologize.