Skip to content
Snippets Groups Projects
Commit 8078f879 authored by Jacob Schatz's avatar Jacob Schatz
Browse files

Merge branch 'fix-variable-and-comments' into 'master'

Remove unused attributes

Closes #22282

See merge request !6465
parents 00a7ca74 588dc31a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -40,7 +40,6 @@
dataType: 'json',
data: {
_method: 'PATCH',
id: this.$wrap.data('banchId'),
protected_branch: {
merge_access_levels_attributes: [{
id: this.$allowedToMergeDropdown.data('access-level-id'),
Loading
Loading
%tr.js-protected-branch-edit-form{ data: { url: namespace_project_protected_branch_path(@project.namespace, @project, protected_branch), branch_id: protected_branch.id } }
%tr.js-protected-branch-edit-form{ data: { url: namespace_project_protected_branch_path(@project.namespace, @project, protected_branch) } }
%td
= protected_branch.name
- if @project.root_ref?(protected_branch.name)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment