Commit fa79a74e authored by kushalpandya's avatar kushalpandya Committed by Bob Van Landuyt

Move Protected Tags class init to bundle index page

parent 5cec15e9
...@@ -414,9 +414,6 @@ import AuditLogs from './audit_logs'; ...@@ -414,9 +414,6 @@ import AuditLogs from './audit_logs';
new gl.ProtectedBranchCreate(); new gl.ProtectedBranchCreate();
new gl.ProtectedBranchEditList(); new gl.ProtectedBranchEditList();
new UsersSelect(); new UsersSelect();
// Initialize Protected Tag Settings
new gl.ProtectedTagCreate();
new gl.ProtectedTagEditList();
// Initialize expandable settings panels // Initialize expandable settings panels
initSettingsPanels(); initSettingsPanels();
break; break;
......
/* eslint-disable no-param-reassign */ /* eslint-disable no-unused-vars */
import ProtectedTagCreate from './protected_tag_create'; import ProtectedTagCreate from './protected_tag_create';
import ProtectedTagEditList from './protected_tag_edit_list'; import ProtectedTagEditList from './protected_tag_edit_list';
((global) => { $(() => {
global.gl = global.gl || {}; const protectedtTagCreate = new ProtectedTagCreate();
const protectedtTagEditList = new ProtectedTagEditList();
gl.ProtectedTagCreate = ProtectedTagCreate; });
gl.ProtectedTagEditList = ProtectedTagEditList;
})(window);
/* eslint-disable no-param-reassign */ /* eslint-disable no-unused-vars */
import ProtectedTagCreate from './protected_tag_create'; import ProtectedTagCreate from './protected_tag_create';
import ProtectedTagEditList from './protected_tag_edit_list'; import ProtectedTagEditList from './protected_tag_edit_list';
((global) => { $(() => {
global.gl = global.gl || {}; const protectedtTagCreate = new ProtectedTagCreate();
const protectedtTagEditList = new ProtectedTagEditList();
gl.ProtectedTagCreate = ProtectedTagCreate; });
gl.ProtectedTagEditList = ProtectedTagEditList;
})(window);
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