Don't display "designs upload requirements" when repository feature is disabled for project
<!--- Please read this! Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "bug" label: - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=regression - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=bug and verify the issue you're about to submit isn't a duplicate. ---> ### Summary GitLab displays the following warning in issues belonging to a project which has the repository feature disabled: ![image](/uploads/8d6936792947e3550e4729377699dc4b/image.png) ### 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.
issue