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.
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 theDelete
button in a given row, a basic alert usingwindow.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.