Merge pull request #2904 from urbanrotnik/ur-sci-5093

Fix smart annotation in checklist title [SCI-5093]
This commit is contained in:
Urban Rotnik 2020-10-23 13:36:22 +02:00 committed by GitHub
commit 6ccd34291d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,8 +13,8 @@ module Reports::Docx::DrawStepChecklist
@docx.p
@docx.p do
text SmartAnnotations::TagToText.new(
@user,
@report_team,
user,
team,
I18n.t('projects.reports.elements.step_checklist.checklist_name', name: checklist.name)
).text, italic: true
text ' '