Deleting the n+1 registry repository item, prompts to delete the first item
When deleting a repository from the registry, the prompt asks to delete the first item in the list of repositories.
Steps to reproduce
- Go to the registry feature of you project
- When there are more than one repositories (NOT tags), such as
- Click to delete an item that is not the first in the list. This will prompt to delete the first item. Clicking to confirm WILL delete the item
- Click cancel will then prompt to delete the 2nd and increments as you click cancel.
What is the current bug behavior?
Clicking to delete the
1+n registry repository in a project, does not prompt to delete the correct one.
What is the expected correct behavior?
When clicking the delete button for the
1+n registry repository in the list of repositories for a project, it should prompt to only delete that item, and not others.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com