mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-24 16:55:09 +08:00
Merge pull request #2528 from urbanrotnik/ur-sci-4542-user-filter
Fix for user filter in task activity page [SCI-4542]
This commit is contained in:
commit
4947255015
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