mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Remove duplicate destroy for report [SCI-2834]
This commit is contained in:
parent
0e192cc830
commit
82a11ebca2
1 changed files with 0 additions and 1 deletions
|
@ -237,7 +237,6 @@ class Project < ApplicationRecord
|
|||
assigns: { project: self, report: report }
|
||||
parsed_page_html = Nokogiri::HTML(page_html_string)
|
||||
parsed_pdf_html = parsed_page_html.at_css('#report-content')
|
||||
report.destroy
|
||||
|
||||
tables = parsed_pdf_html.css('.hot-table-contents')
|
||||
.zip(parsed_pdf_html.css('.hot-table-container'))
|
||||
|
|
Loading…
Reference in a new issue