mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-09 21:56:32 +08:00
Delay marking Docx report as ready till after preview is created [SCI-10037] (#7025)
This commit is contained in:
parent
1948757d15
commit
e85f48d51f
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ class ReportsController < ApplicationController
|
|||
end
|
||||
|
||||
def status
|
||||
docx = @report.docx_file.attached? ? document_preview_report_path(@report, report_type: :docx) : nil
|
||||
docx = @report.docx_preview_file.attached? ? document_preview_report_path(@report, report_type: :docx) : nil
|
||||
pdf = @report.pdf_file.attached? ? document_preview_report_path(@report, report_type: :pdf) : nil
|
||||
|
||||
render json: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue