You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no functionality to allow an admin to delete an event through an interface leading to them having to go into the database which is less than ideal.
Requirements
Allow for a server action that lets super admins only delete events
With this, create an action called executiveAction that only allows super admins to make modifications
Action should run revalidatePath to properly reflect the changes
A super admin should have the option to delete an event from admin/events
Replace scanner and view buttons with an action dropdown that includes the links as they would be represented in the buttons
Add a delete option to this that acts as a Dialog Trigger
Description
Currently, there is no functionality to allow an admin to delete an event through an interface leading to them having to go into the database which is less than ideal.
Requirements
executiveAction
that only allows super admins to make modificationsrevalidatePath
to properly reflect the changesadmin/events
scanner
andview
buttons with an action dropdown that includes the links as they would be represented in the buttonsdelete
option to this that acts as a Dialog TriggerUseful Links
The text was updated successfully, but these errors were encountered: