Commit cc67e914 authored by Jacob Schatz's avatar Jacob Schatz

Fixes duplication

parent 1aff4806
......@@ -214,7 +214,6 @@ import Activities from './activities';
case 'dashboard:todos:index':
new Todos();
break;
case 'explore:projects:index':
case 'explore:projects:trending':
case 'explore:projects:starred':
......@@ -232,21 +231,6 @@ import Activities from './activities';
.then(module => module.default())
.catch(fail);
break;
case 'admin:projects:index':
new ProjectsList();
break;
case 'explore:groups:index':
new GroupsList();
const landingElement = document.querySelector('.js-explore-groups-landing');
if (!landingElement) break;
const exploreGroupsLanding = new Landing(
landingElement,
landingElement.querySelector('.dismiss-button'),
'explore_groups_landing_dismissed',
);
exploreGroupsLanding.toggle();
break;
case 'projects:milestones:new':
case 'projects:milestones:edit':
case 'projects:milestones:update':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment