mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 01:03:18 +08:00
Remove Repository's team from sharring list
This commit is contained in:
parent
32783576c1
commit
23d7d117e9
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
<tr>
|
||||
<th>Share with Team</th><th>Can Edit</th>
|
||||
</tr>
|
||||
<% current_user.teams.each do |t| %>
|
||||
<% (current_user.teams - [@repository.team]).each do |t| %>
|
||||
<tr>
|
||||
<td>
|
||||
<%= check_box_tag 'share_team_ids[]', t.id, @repository.shared_with?(t), {id: "shared_#{t.id}"} %>
|
||||
|
|
Loading…
Reference in a new issue