Commit 1983eb6c authored by Alfredo Sumaran's avatar Alfredo Sumaran

camelCase param name

parent 8f29c332
......@@ -26,11 +26,11 @@ class ProtectedBranchDropdown {
return (selected && 'id' in selected) ? selected.title : 'Protected Branch';
},
fieldName: 'protected_branch[name]',
text(protected_branch) {
return _.escape(protected_branch.title);
text(protectedBranch) {
return _.escape(protectedBranch.title);
},
id(protected_branch) {
return _.escape(protected_branch.id);
id(protectedBranch) {
return _.escape(protectedBranch.id);
},
onFilter: this.toggleCreateNewButton.bind(this),
clicked: (item, $el, e) => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment