diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-27 09:05:03 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-27 09:05:03 +0000 |
commit | fed51d1eaacc0d9e327cb2b67b19848d6cafd666 (patch) | |
tree | d12b5c542cb2a403014a33071f06247728940d45 /app/assets/javascripts/dispatcher.js | |
parent | a1aa4f00c27afdd3faf5a551b24bfe1555533a4d (diff) | |
download | gitlab-ce-fed51d1eaacc0d9e327cb2b67b19848d6cafd666.tar.gz |
Remove groups_select from global namespace & simplifies the code
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index f20162c48e9..970e83c0ecb 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -13,7 +13,7 @@ import GroupLabelSubscription from './group_label_subscription'; /* global LineHighlighter */ import BuildArtifacts from './build_artifacts'; import CILintEditor from './ci_lint_editor'; -/* global GroupsSelect */ +import groupsSelect from './groups_select'; /* global Search */ /* global Admin */ /* global NamespaceSelects */ @@ -414,7 +414,7 @@ import Diff from './diff'; break; case 'projects:project_members:index': memberExpirationDate('.js-access-expiration-date-groups'); - new GroupsSelect(); + groupsSelect(); memberExpirationDate(); new Members(); new UsersSelect(); |