hack4impact-calpoly / youth-arts

Hack4Impact Cal Poly nonprofit project for Paso Robles Youth Arts Center
6 stars 2 forks source link

connect delete volunteer task button to backend #178

Closed ryanchansf closed 1 year ago

ryanchansf commented 1 year ago

Modify the OpportunityDetail page and connect it to the /api/volunteer/task route to be able to delete a VolunteerTask row from the table of tasks in an opportunity. When the user clicks the Delete button in a given row, a basic alert using window.confirm() should pop up asking the user to confirm the deletion. Once the user confirms, the route should be called to delete the task from the table.