gitlab-org--gitlab-foss/app/views/projects/project_members/update.js.haml

3 lines
248 B
Text

- can_admin_project = can?(current_user, :admin_project, @project)
:plain
$("##{dom_id(@project_member)}").replaceWith('#{escape_javascript(render("project_member", member: @project_member, current_user_can_admin_project: can_admin_project))}');