Show error if we fail to reset defences #714
Labels
bug
Something isn't working
frontend
Requires work on the frontend
good first issue
Simple issue
triage
New tickets to be checked by the maintainers
Milestone
Bug report
Description
Pressing the 'reset' button will always show the confirmation message, even if the reset HTTP request fails. We should show an error instead.
Reproduction steps
Steps to reproduce the behaviour:
Expected behaviour
Show an error if the reset fails.
Screenshots
Software (please complete the following information):
Acceptance criteria
GIVEN the backend is down
WHEN the reset button is pressed
THEN an error message is shown
The text was updated successfully, but these errors were encountered: