Fix for user filter in task activity page

This commit is contained in:
Urban Rotnik 2020-04-30 09:20:29 +02:00
parent d776e40c7b
commit 1fe1b782f1

View file

@ -9,6 +9,7 @@ module TeamBySubjectModel
valid_subjects = Extends::ACTIVITY_SUBJECT_CHILDREN
# Check all activity subject
valid_subjects.each do |subject, _children|
subject = subject.to_s.camelize.to_sym
next unless subjects[subject]
parent_array = [subject.to_s.underscore]