New label button disappears when only prioritized labels
Summary
The "New label" button disappears when all labels are marked as "Prioritized label"
Steps to reproduce
If label list is empty:
- Create a label
- Set label as Prioritized label
- Refresh page
- New label button is gone
alternative
- Create multiple labels
- Set all but one label to prioritized label
- Refresh page
- Set last label to Prioritized label
- New label button is gone
What is the current bug behavior?
The "New label" button disappears, when there are ONLY prioritized labels in a project.
What is the expected correct behavior?
The "New label" button should be visible
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com