Verified Commit ece24e92 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

fix(semester-process-volunteer): fix missions method, to work also in non saved state

parent c3da80ed
......@@ -25,6 +25,6 @@ class SemesterProcessVolunteer < ApplicationRecord
# will only return an array, not a AD-result
def missions
assignments + group_assignments
semester_process_volunteer_missions.map(&:mission)
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment