Commit 520cb97e authored by Phil Hughes's avatar Phil Hughes

Merge branch 'dispatcher-dashboard-milestone-show' into 'master'

Refactor dashboard milestone show inside dispatcher

See merge request gitlab-org/gitlab-ce!16304
parents b1d013bd 3ead412a
......@@ -196,10 +196,14 @@ import Activities from './activities';
break;
case 'projects:milestones:show':
case 'groups:milestones:show':
case 'dashboard:milestones:show':
new Milestone();
new Sidebar();
break;
case 'dashboard:milestones:show':
import('./pages/dashboard/milestones/show')
.then(callDefault)
.catch(fail);
break;
case 'dashboard:issues':
case 'dashboard:merge_requests':
projectSelect();
......
import Milestone from '~/milestone';
import Sidebar from '~/right_sidebar';
export default () => {
new Milestone(); // eslint-disable-line no-new
new Sidebar(); // eslint-disable-line no-new
};
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