mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-28 02:27:57 +08:00
Fix for user filter in task activity page
This commit is contained in:
parent
d776e40c7b
commit
1fe1b782f1
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue