diff options
author | kushalpandya <kushal@gitlab.com> | 2017-10-05 19:53:10 +0530 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-10-05 19:53:10 +0530 |
commit | 00f76de09a42d2957ced317d102df532eb6bfd75 (patch) | |
tree | fd9d0930548e6bde065129ad0790ba3d6c2632da /app/assets/javascripts/groups/index.js | |
parent | 4e88ca12060df0c6e73a1eed74d6a7f6e42d7b58 (diff) | |
download | gitlab-ce-00f76de09a42d2957ced317d102df532eb6bfd75.tar.gz |
Remove new subgroup/project droplab button initialization
Diffstat (limited to 'app/assets/javascripts/groups/index.js')
-rw-r--r-- | app/assets/javascripts/groups/index.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/assets/javascripts/groups/index.js b/app/assets/javascripts/groups/index.js index 2b625ef013a..84286c3572e 100644 --- a/app/assets/javascripts/groups/index.js +++ b/app/assets/javascripts/groups/index.js @@ -4,7 +4,6 @@ import Vue from 'vue'; import Translate from '../vue_shared/translate'; import GroupFilterableList from './groups_filterable_list'; -import NewGroupChild from './new_group_child'; import GroupsStore from './store/groups_store'; import GroupsService from './service/groups_service'; @@ -16,7 +15,6 @@ Vue.use(Translate); document.addEventListener('DOMContentLoaded', () => { const el = document.getElementById('js-groups-tree'); - const newGroupChildWrapper = document.querySelector('.js-new-project-subgroup'); // Don't do anything if element doesn't exist (No groups) // This is for when the user enters directly to the page via URL @@ -27,11 +25,6 @@ document.addEventListener('DOMContentLoaded', () => { Vue.component('group-folder', groupFolderComponent); Vue.component('group-item', groupItemComponent); - if (newGroupChildWrapper) { - // eslint-disable-next-line no-new - new NewGroupChild(newGroupChildWrapper); - } - // eslint-disable-next-line no-new new Vue({ el, |