Closed joaodiaslobo closed 11 months ago
AI-Generated Summary: This pull request makes changes across four files to resolve issues with activities in the Atomic system. The problems primarily involve incorrect associations and preloads relating to the enrollments
table in the Activities
module. This patch modifies the associations from enrollments
to activity_enrollments
and updates the preloads accordingly in both the ActivityLive.Index
module and activities.ex
file. The activity_live/index.html.heex
file is also updated to reflect these changes in counting activity enrollments. Lastly, a minor change is made to the ActivityLive.Show
module to enhance activity details retrieval, adding organization
to the preload list.
Some pages and functions needed updates after the enrollments refactor.