From c2c255e8d7f08434ef6c2e5868fcab2fc5ad0d8e Mon Sep 17 00:00:00 2001 From: kushalpandya Date: Wed, 19 Jul 2017 18:17:35 +0530 Subject: Update Protected Branches feature initialization --- app/assets/javascripts/dispatcher.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index ae19592ecbe..af468c2d773 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -40,6 +40,7 @@ import BlobLinePermalinkUpdater from './blob/blob_line_permalink_updater'; import Landing from './landing'; import BlobForkSuggestion from './blob/blob_fork_suggestion'; import UserCallout from './user_callout'; +import { ProtectedBranchCreate, ProtectedBranchEditList } from './protected_branches'; import { ProtectedTagCreate, ProtectedTagEditList } from './protected_tags'; import ShortcutsWiki from './shortcuts_wiki'; import Pipelines from './pipelines'; @@ -391,8 +392,8 @@ import PerformanceBar from './performance_bar'; break; case 'projects:settings:repository:show': // Initialize Protected Branch Settings - new gl.ProtectedBranchCreate(); - new gl.ProtectedBranchEditList(); + new ProtectedBranchCreate(); + new ProtectedBranchEditList(); // Initialize Protected Tag Settings new ProtectedTagCreate(); new ProtectedTagEditList(); -- cgit v1.2.1