"Cancel" btn doesn't cancel on new CI/CD configuration
Summary
When adding a new CI/CD configuration to a project, the "Cancel" button on the form doesn't behave as "Cancel" but rather as "Reset".
Steps to reproduce
- Go to a project
- Click "CI/CD Configuration" to add the configuration into the project
- On the form, click "Cancel"
Example Project
What is the current bug behavior?
- The button only resets the form
What is the expected correct behavior?
- Canceling the addition of the configuration and reloading into the project repository.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Edited by Denys Mishunov