mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 20:05:55 +08:00
changed team management logic
This commit is contained in:
parent
d3901bd96f
commit
5cd7d2fb11
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
<% project_form = nil
|
<% project_form = nil
|
||||||
unassigned_team_owner = can_manage_team?(current_user.current_team) && !can_read_project?(project)
|
unassigned_team_owner = can_manage_team?(project.team) && !can_read_project?(project)
|
||||||
%>
|
%>
|
||||||
|
|
||||||
<%= form_for project, format: :json, method: :put, remote: true, html: { id: "edit-project-dropdown-form-#{project.id}" } do |f| %>
|
<%= form_for project, format: :json, method: :put, remote: true, html: { id: "edit-project-dropdown-form-#{project.id}" } do |f| %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue