Closed severinbeauvais closed 5 months ago
/gcbrun
Temporary Url for review: https://business-create-dev--pr-707-jgs4u8b5.web.app
This is what happens if you clear (click X on) an uploaded files. Note that is not a CORS error -- it's the Legal API not handling this call. There is no indication to the user that this didn't work (they won't care anyway). Only this console error:
Issue #: bcgov/entity#21110
This is part 1 of the ticket (when user clears an uploaded file). Part 2 will be in a separate PR. Unfortunately this isn't testable at the moment because the Legal API endpoint doesn't exist, but it can be verified that this code change doesn't break anything. I will test when I work on part 2.
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).