Commit e7969220 authored by Clement Ho's avatar Clement Ho

Refactor dispatcher dashboard mr path

parent 402c3d13
......@@ -237,8 +237,9 @@ import initLDAPGroupsSelect from 'ee/ldap_groups_select'; // eslint-disable-line
.catch(fail);
break;
case 'dashboard:merge_requests':
projectSelect();
initLegacyFilters();
import('./pages/dashboard/merge_requests')
.then(callDefault)
.catch(fail);
break;
case 'groups:issues':
case 'groups:merge_requests':
......
import projectSelect from '~/project_select';
import initLegacyFilters from '~/init_legacy_filters';
export default () => {
projectSelect();
initLegacyFilters();
};
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