diff options
Diffstat (limited to 'app/assets/javascripts/pages/projects/branches/index/index.js')
-rw-r--r-- | app/assets/javascripts/pages/projects/branches/index/index.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/assets/javascripts/pages/projects/branches/index/index.js b/app/assets/javascripts/pages/projects/branches/index/index.js index ac5e0b28dd1..f5cd03ac48d 100644 --- a/app/assets/javascripts/pages/projects/branches/index/index.js +++ b/app/assets/javascripts/pages/projects/branches/index/index.js @@ -1,9 +1,9 @@ import initDeprecatedRemoveRowBehavior from '~/behaviors/deprecated_remove_row_behavior'; import BranchSortDropdown from '~/branches/branch_sort_dropdown'; import initDiverganceGraph from '~/branches/divergence_graph'; -import initDeleteBranchButton from '~/branches/init_delete_branch_button'; import initDeleteBranchModal from '~/branches/init_delete_branch_modal'; import initDeleteMergedBranches from '~/branches/init_delete_merged_branches'; +import initBranchMoreActions from '~/branches/init_branch_more_actions'; const { divergingCountsEndpoint, defaultBranch } = document.querySelector( '.js-branch-list', @@ -14,8 +14,6 @@ BranchSortDropdown(); initDeprecatedRemoveRowBehavior(); initDeleteMergedBranches(); -document - .querySelectorAll('.js-delete-branch-button') - .forEach((elem) => initDeleteBranchButton(elem)); +document.querySelectorAll('.js-branch-more-actions').forEach((elem) => initBranchMoreActions(elem)); initDeleteBranchModal(); |