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