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