mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
Fix copy inventory permission (#2016)
This commit is contained in:
parent
f2a9a4b505
commit
4d20cd7d55
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if can_create_repositories?(@repository.team) %>
|
<% if can_create_repositories?(current_team) %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to t('repositories.index.options_dropdown.copy'),
|
<%= link_to t('repositories.index.options_dropdown.copy'),
|
||||||
team_repository_copy_modal_path(current_team, repository_id: @repository),
|
team_repository_copy_modal_path(current_team, repository_id: @repository),
|
||||||
|
|
Loading…
Reference in a new issue