Merge pull request #6066 from G-Chubinidze/gc_SCI_8727_V2

Project actions dropdown: changed team management logic
This commit is contained in:
artoscinote 2023-08-24 11:04:55 +02:00 committed by GitHub
commit 48ac044be2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
<% 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| %>