Commit 1c03aace authored by Constance Okoghenun's avatar Constance Okoghenun

Fixed duplicate instantiation of protected tags

parent 4ff21d80
/* eslint-disable no-new */ /* eslint-disable no-new */
import '~/pages/projects/settings/repository/show/index';
import UsersSelect from '~/users_select'; import UsersSelect from '~/users_select';
import UserCallout from '~/user_callout'; import UserCallout from '~/user_callout';
import initSettingsPanels from '~/settings_panels';
import initDeployKeys from '~/deploy_keys';
import ProtectedTagCreate from 'ee/protected_tags/protected_tag_create'; 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';
...@@ -11,4 +11,6 @@ document.addEventListener('DOMContentLoaded', () => { ...@@ -11,4 +11,6 @@ document.addEventListener('DOMContentLoaded', () => {
new UserCallout(); new UserCallout();
new ProtectedTagCreate(); new ProtectedTagCreate();
new ProtectedTagEditList(); new ProtectedTagEditList();
initDeployKeys();
initSettingsPanels();
}); });
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