HandleDownloadEnrollments
Function: handleDownloadEnrollments()
[object Object]
Defined in: app/components/Activity/Edit/EditParticipantsTile/EditParticipantsTile.handlers.tsx:20
Triggers a download of the activity's enrollment list as a CSV file.
This handler fetches a blob from the API, creates a temporary DOM element to initiate the download, and cleans up resources (URL objects and elements) afterward.
Parameters
activity
The activity object for which to export enrollments.
Returns
[object Object]