Commit 0630f855 authored by Tugce Nur Tas's avatar Tugce Nur Tas
Browse files

do not show terminated assignments on active table volunteer show

parent a38c8ab4
......@@ -182,7 +182,7 @@ h3= t('.availability')
- if @volunteer.group_assignments.any?
h3#assignments= t('.group_assignments')
= render 'group_assignments/volunteer_group_assignments', group_assignments: @volunteer.group_assignments, editable: true
= render 'group_assignments/volunteer_group_assignments', group_assignments: @volunteer.group_assignments.unterminated, editable: true
- if @volunteer.group_assignment_logs.any?
h3= t('.old_group_assignments')
......
Supports Markdown
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