summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2017-04-06 14:18:03 +0530
committerKushal Pandya <kushal@gitlab.com>2017-04-06 14:18:03 +0530
commit59be20f06fa6d4a98dac5b45c3dee2aeebe813e2 (patch)
treeb79460cf66dc4457255e80ae4b655f34d6e78fe7 /app
parent92b75704c2b6e827d333b85ab3d1d99aed84cb6f (diff)
downloadgitlab-ce-59be20f06fa6d4a98dac5b45c3dee2aeebe813e2.tar.gz
Import Protected Tags classes
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/dispatcher.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index d384927cc5b..4dc82bee6c3 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -41,6 +41,7 @@ import GroupsList from './groups_list';
import ProjectsList from './projects_list';
import MiniPipelineGraph from './mini_pipeline_graph_dropdown';
import BlobLinePermalinkUpdater from './blob/blob_line_permalink_updater';
+import { ProtectedTagCreate, ProtectedTagEditList } from './protected_tags';
const ShortcutsBlob = require('./shortcuts_blob');
const UserCallout = require('./user_callout');
@@ -322,8 +323,8 @@ const UserCallout = require('./user_callout');
new gl.ProtectedBranchCreate();
new gl.ProtectedBranchEditList();
// Initialize Protected Tag Settings
- new gl.ProtectedTagCreate();
- new gl.ProtectedTagEditList();
+ new ProtectedTagCreate();
+ new ProtectedTagEditList();
break;
case 'projects:ci_cd:show':
new gl.ProjectVariables();