Hide subtitle when no papers and always display content.

This commit is contained in:
邱博亞 2024-08-18 10:51:37 +08:00
parent a5f435c547
commit ea6ad70e25
1 changed files with 2 additions and 2 deletions

View File

@ -181,11 +181,11 @@
<%= t('e_paper.description') %>
</span>
<span>
<%= paper.description.html_safe %>
<% if papers_data.present? %>
<%= paper.description.html_safe %>
<br>
<%= paper.content.html_safe %>
<% end %>
<%= paper.content.html_safe %>
</span>
</div>
</div>