diff --git a/app/assets/javascripts/protected_branch_dropdown.js.es6 b/app/assets/javascripts/protected_branch_dropdown.js.es6 index 35eaa18c86dc3c01bf13fc219e918722bf509914..66b1217473b4511b5ef49c49f9c6bca4149e63dd 100644 --- a/app/assets/javascripts/protected_branch_dropdown.js.es6 +++ b/app/assets/javascripts/protected_branch_dropdown.js.es6 @@ -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) => {