mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
Fixed export all report html generation [SCI-5840]
This commit is contained in:
parent
fb105f8632
commit
c4e6b0bbaf
1 changed files with 3 additions and 1 deletions
|
@ -101,7 +101,9 @@ class Report < ApplicationRecord
|
|||
'repositories' => project.assigned_repositories_and_snapshots.pluck(:id)
|
||||
}
|
||||
project.experiments.includes(:my_modules).each do |experiment|
|
||||
content['experiments'].push(experiment.id)
|
||||
content['experiments'].push(
|
||||
{ id: experiment.id, my_module_ids: experiment.my_module_ids }
|
||||
)
|
||||
content['tasks'][experiment.id] = experiment.my_modules.pluck(:id)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue