Commit a00bb743 authored by Clement Ho's avatar Clement Ho

Fix specs

parent eaab051b
......@@ -7,6 +7,7 @@ import ProtectedTagCreate from 'ee/protected_tags/protected_tag_create';
import ProtectedTagEditList from 'ee/protected_tags/protected_tag_edit_list';
import CEProtectedTagCreate from '~/protected_tags/protected_tag_create';
import CEProtectedTagEditList from '~/protected_tags/protected_tag_edit_list';
import MirrorPull from 'ee/mirrors/mirror_pull';
document.addEventListener('DOMContentLoaded', () => {
new UsersSelect();
......@@ -20,4 +21,10 @@ document.addEventListener('DOMContentLoaded', () => {
}
initDeployKeys();
initSettingsPanels();
const mirrorPull = new MirrorPull('.js-project-mirror-push-form');
if (mirrorPull) {
mirrorPull.init();
}
});
import MirrorPull from 'ee/mirrors/mirror_pull';
document.addEventListener('DOMContentLoaded', () => {
const mirrorPull = new MirrorPull('.js-project-mirror-push-form');
mirrorPull.init();
});
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