Commit eaab051b authored by Clement Ho's avatar Clement Ho

Remove mirror webpack bundle entry

parent 50c66197
......@@ -74,7 +74,6 @@ function generateEntries() {
issuable: 'ee/issuable/issuable_bundle.js',
issues: 'ee/issues/issues_bundle.js',
ldap_group_links: 'ee/groups/ldap_group_links.js',
mirrors: 'ee/mirrors',
ee_protected_branches: 'ee/protected_branches',
service_desk: 'ee/projects/settings_service_desk/service_desk_bundle.js',
roadmap: 'ee/roadmap',
......
import MirrorPull from './mirror_pull';
import MirrorPull from 'ee/mirrors/mirror_pull';
document.addEventListener('DOMContentLoaded', () => {
const mirrorPull = new MirrorPull('.js-project-mirror-push-form');
......
- content_for :page_specific_javascripts do
= webpack_bundle_tag 'mirrors'
- if can?(current_user, :admin_mirror, @project)
= render 'projects/mirrors/pull'
= render 'projects/mirrors/push'
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