Skip to content
Snippets Groups Projects
Commit 00f76de0 authored by kushalpandya's avatar kushalpandya
Browse files

Remove new subgroup/project droplab button initialization

parent 4e88ca12
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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';
 
Loading
Loading
@@ -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
Loading
Loading
@@ -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,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment