Commit b5cde6b6 authored by Fatih Acet's avatar Fatih Acet

Merge branch 'dispatcher-dashboard-mr' into 'master'

Refactor dispatcher dashboard mr path

See merge request gitlab-org/gitlab-ce!16360
parents 31b3ccb5 b3ea91a1
......@@ -52,7 +52,6 @@ import ZenMode from './zen_mode';
import initSettingsPanels from './settings_panels';
import PerformanceBar from './performance_bar';
import initNotes from './init_notes';
import initLegacyFilters from './init_legacy_filters';
import initIssuableSidebar from './init_issuable_sidebar';
import initProjectVisibilitySelector from './project_visibility';
import GpgBadges from './gpg_badges';
......@@ -192,8 +191,9 @@ import Activities from './activities';
.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