mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-11 14:45:59 +08:00
Merge pull request #6066 from G-Chubinidze/gc_SCI_8727_V2
Project actions dropdown: changed team management logic
This commit is contained in:
commit
48ac044be2
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