Refactor dashboard issues

This commit is contained in:
Clement Ho 2018-01-08 17:49:31 -06:00
parent bd50ecbad8
commit ad1a9817dc
2 changed files with 9 additions and 0 deletions

View file

@ -199,6 +199,8 @@ import Activities from './activities';
new Sidebar(); new Sidebar();
break; break;
case 'dashboard:issues': case 'dashboard:issues':
import('./pages/dashboard/issues').then(callDefault).catch(fail);
break;
case 'dashboard:merge_requests': case 'dashboard:merge_requests':
projectSelect(); projectSelect();
initLegacyFilters(); initLegacyFilters();

View file

@ -0,0 +1,7 @@
import projectSelect from '~/project_select';
import initLegacyFilters from '~/init_legacy_filters';
export default () => {
projectSelect();
initLegacyFilters();
}