This adds a button to delete event, there is a conformation modal (with a time-locked delete button)
The one idiosyncracy is that the delete event api code requires me to first remove eventitems and then useronevent before i can delete the event db row. I think this can be done by reworked into using the prisma schema to use oncascade delete but this was the simplest option for now.
Closes #50
This adds a button to delete event, there is a conformation modal (with a time-locked delete button)
The one idiosyncracy is that the delete event api code requires me to first remove eventitems and then useronevent before i can delete the event db row. I think this can be done by reworked into using the prisma schema to use oncascade delete but this was the simplest option for now.