Don't display "designs upload requirements" when repository feature is disabled for project
Summary
GitLab displays the following warning in issues belonging to a project which has the repository feature disabled:
Steps to reproduce
On a self-hosted Core instance which satisfies the requirements for design uploads, create a new project, disable the repository feature and create an issue.
What is the current bug behavior?
The warning above is displayed. It does not say anything about requiring the disabled repository feature to work. It suggests a misconfiguration of GitLab.
What is the expected correct behavior?
No warning message shown.
Possible fixes
Don't display the message on projects with the repository feature disabled.
Edited by Alexander Rose