Commit 0d1af3d2 authored by Clement Ho's avatar Clement Ho

Refactor dispatcher dashboard mr path

parent 82007530
...@@ -209,8 +209,9 @@ import Activities from './activities'; ...@@ -209,8 +209,9 @@ import Activities from './activities';
.catch(fail); .catch(fail);
break; break;
case 'dashboard:merge_requests': case 'dashboard:merge_requests':
projectSelect(); import('./pages/dashboard/merge_requests')
initLegacyFilters(); .then(callDefault)
.catch(fail);
break; break;
case 'groups:issues': case 'groups:issues':
case 'groups:merge_requests': 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