mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-05 04:03:45 +08:00
Fix checking of my_modules presence [SCI-1356]
This commit is contained in:
parent
4060ba2ac3
commit
69231060b0
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
<p>
|
||||
<span>
|
||||
<%=t "search.index.modules" %>
|
||||
<% if repository_row.my_modules.count > 0 %>
|
||||
<% if repository_row.my_modules.any? %>
|
||||
<% repository_row.my_modules.each_with_index do |mod, i| %>
|
||||
<%= render partial: "search/results/partials/my_module_text.html.erb",
|
||||
locals: { my_module: mod, link_to_page: :repositories, repository: repository } %>
|
||||
|
|
Loading…
Reference in a new issue