Chemical-Curation / chemcurator_vuejs

Chemical registration and curation tool
https://chemreg.epa.gov
1 stars 0 forks source link

98 synonym delete #142

Closed michael-barbour closed 3 years ago

michael-barbour commented 3 years ago

closes #98

Needs rebase / merge onto dev when #96 is merged. Done.

Adds a delete button to every row. The delete button sends a DELETE request and upon a successful delete, removes the row. If the row fails to delete, the row is left. If the row is unsaved the row is simply removed.

To test the error handling, the row being deleted should be deleted via the API to force a 404. The error box should pop up.