Refactor dashboard milestone index inside dispatcher

This commit is contained in:
Clement Ho 2018-01-10 09:20:51 +00:00 committed by Phil Hughes
parent 35dcf8513b
commit a7c0387047
2 changed files with 6 additions and 1 deletions

View file

@ -190,7 +190,9 @@ import Activities from './activities';
initIssuableSidebar();
break;
case 'dashboard:milestones:index':
projectSelect();
import('./pages/dashboard/milestones/index')
.then(callDefault)
.catch(fail);
break;
case 'projects:milestones:show':
case 'groups:milestones:show':

View file

@ -0,0 +1,3 @@
import projectSelect from '~/project_select';
export default projectSelect;