Skip to content

Media modal displays when confirming a global exclusion removal #1703

@benscobie

Description

@benscobie

Describe the bug
As per the title, the media modal displays when confirming or cancelling a global exclusion removal.

To Reproduce
Steps to reproduce the behavior:

  1. Add a media item to the global exclusion list.
  2. Go to the Exclusions tab of a collection and click the remove button twice. A warning modal appears.
  3. Click Cancel, the media modal is displayed.
  4. Repeat step 2, Click Ok, the media modal is briefly displayed.

Expected behavior
The media modal should not show at all.

Additional context
There will be a missing preventDefault somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions