Commit f1e609ad authored by Phil Hughes's avatar Phil Hughes

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

Refactor dashboard milestone show inside dispatcher (EE)

See merge request gitlab-org/gitlab-ee!3962
parents 3153264a a15fb90e
...@@ -224,10 +224,14 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line ...@@ -224,10 +224,14 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
case 'projects:milestones:show': case 'projects:milestones:show':
new UserCallout(); new UserCallout();
case 'groups:milestones:show': case 'groups:milestones:show':
case 'dashboard:milestones:show':
new Milestone(); new Milestone();
new Sidebar(); new Sidebar();
break; break;
case 'dashboard:milestones:show':
import('./pages/dashboard/milestones/show')
.then(callDefault)
.catch(fail);
break;
case 'dashboard:issues': case 'dashboard:issues':
case 'dashboard:merge_requests': case 'dashboard:merge_requests':
projectSelect(); 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