Refactor dashboard issues
This commit is contained in:
parent
bd50ecbad8
commit
ad1a9817dc
2 changed files with 9 additions and 0 deletions
|
@ -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();
|
||||||
|
|
7
app/assets/javascripts/pages/dashboard/issues/index.js
Normal file
7
app/assets/javascripts/pages/dashboard/issues/index.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import projectSelect from '~/project_select';
|
||||||
|
import initLegacyFilters from '~/init_legacy_filters';
|
||||||
|
|
||||||
|
export default () => {
|
||||||
|
projectSelect();
|
||||||
|
initLegacyFilters();
|
||||||
|
}
|
Loading…
Reference in a new issue