Refactor dashboard milestone index inside dispatcher
This commit is contained in:
parent
35dcf8513b
commit
a7c0387047
2 changed files with 6 additions and 1 deletions
|
@ -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':
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
import projectSelect from '~/project_select';
|
||||
|
||||
export default projectSelect;
|
Loading…
Reference in a new issue