diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-09 12:40:52 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-10-09 12:40:52 +0300 |
commit | 705d0e35da6058d95eb8f262fb2523c48d6b2fc6 (patch) | |
tree | 9293cc4da6548305f27be9fb273f4e45cd1aacbc /app/assets/javascripts/dispatcher.js | |
parent | 2a9147b747ded82e0970c3f8235e9d9e27bd0ab4 (diff) | |
parent | 3616e063e3dafc6eb4e627aa211e1030788b0be2 (diff) |
Merge branch 'abuse-reports-module' into 'master'
Convert AbuseReports class to a module
See merge request gitlab-org/gitlab-ce!14709
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 6a4dce20f24..c3349c382ad 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -75,6 +75,7 @@ import initProjectVisibilitySelector from './project_visibility'; import GpgBadges from './gpg_badges'; import UserFeatureHelper from './helpers/user_feature_helper'; import initChangesDropdown from './init_changes_dropdown'; +import AbuseReports from './abuse_reports'; import { ajaxGet, convertPermissionToBoolean } from './lib/utils/common_utils'; import AjaxLoadingSpinner from './ajax_loading_spinner'; @@ -561,7 +562,7 @@ import AjaxLoadingSpinner from './ajax_loading_spinner'; new Labels(); } case 'abuse_reports': - new gl.AbuseReports(); + new AbuseReports(); break; } break; |