Skip to content

Set unique modal IDs

Paul Gascou-Vaillancourt requested to merge registry-fix-multi-delete-modal into master

What does this MR do?

This fixes a bug where trying to delete a repository from the image registry caused multiple confirmation modals to open when there are multiple repositories. This is due to the fact that each repository has one dedicated modal but they all have the same ID.

modal_bug

To fix this, we simply generate a unique ID for each modal to prevent conflicts.

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

/cc @costlockerbot

Edited by Paul Gascou-Vaillancourt

Merge request reports