mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-03 22:21:53 +08:00
Add project header to reports [SCI-5798] (#3380)
This commit is contained in:
parent
0e87c44c4f
commit
9103fcf356
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,8 @@ module ReportActions
|
|||
private
|
||||
|
||||
def generate_content
|
||||
save_element!({ 'project_id' => @report.project_id }, :project_header, nil)
|
||||
|
||||
@content['experiments'].each do |exp_id|
|
||||
generate_experiment_content(exp_id, @content['tasks'][exp_id])
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue