Commit e8844652 authored by Constance Okoghenun's avatar Constance Okoghenun

Switched naming convention for improted CE files

parent 2e63c8b6
......@@ -3,20 +3,20 @@ import UsersSelect from '~/users_select';
import UserCallout from '~/user_callout';
import initSettingsPanels from '~/settings_panels';
import initDeployKeys from '~/deploy_keys';
import ProtectedTagCreateEE from 'ee/protected_tags/protected_tag_create';
import ProtectedTagEditListEE from 'ee/protected_tags/protected_tag_edit_list';
import ProtectedTagCreateCE from '~/protected_tags/protected_tag_create';
import ProtectedTagEditListCE from '~/protected_tags/protected_tag_edit_list';
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';
document.addEventListener('DOMContentLoaded', () => {
new UsersSelect();
new UserCallout();
if (document.querySelector('.js-protected-refs-for-users')) {
new ProtectedTagCreateEE();
new ProtectedTagEditListEE();
new ProtectedTagCreate();
new ProtectedTagEditList();
} else {
new ProtectedTagCreateCE();
new ProtectedTagEditListCE();
new CEProtectedTagCreate();
new CEProtectedTagEditList();
}
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