Commit 93f0e62e authored by Clement Ho's avatar Clement Ho

Refactor dispatcher project boards path

parent 82007530
...@@ -167,8 +167,10 @@ import Activities from './activities'; ...@@ -167,8 +167,10 @@ import Activities from './activities';
break; break;
case 'projects:boards:show': case 'projects:boards:show':
case 'projects:boards:index': case 'projects:boards:index':
shortcut_handler = new ShortcutsNavigation(); import('./pages/projects/boards/index')
new UsersSelect(); .then(callDefault)
.catch(fail);
shortcut_handler = true;
break; break;
case 'projects:merge_requests:index': case 'projects:merge_requests:index':
case 'projects:issues:index': case 'projects:issues:index':
......
import UsersSelect from '~/users_select';
import ShortcutsNavigation from '~/shortcuts_navigation';
export default () => {
new UsersSelect(); // eslint-disable-line no-new
new ShortcutsNavigation(); // eslint-disable-line no-new
};
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