visualize-admin / visualization-tool

The tool for visualizing Swiss Open Government Data. Project ownership: Federal Office for the Environment FOEN
https://visualize.admin.ch
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

✅ Login: Dialog for Deleting a Visualization doesn't work if the user clicks "no" #1447

Closed sosiology closed 4 months ago

sosiology commented 4 months ago

Describe the bug When deleting a published visualization in visualize (TEST) a dialog appears to confirm deletion, but the "NO" button doesn't work. The user can only delete a visualization (by clicking Yes) or hitting escape on the keyboard to remove the dialog

To Reproduce Steps to reproduce the behavior:

  1. Go to 'test.visualize.admin.ch'
  2. Login with IXT account
  3. Select a chart from the list and select "delete" from the pop over
  4. Click "no" -> Nothing happens

Expected behavior When clicking "no" the dialog disappears and the chart is not deleted

Screenshots or video If applicable, add screenshots or a short video to help put your problem into a context.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

sosiology commented 4 months ago

Works as expected now. Thanks @bprusinowski