Commit 1030f55f authored by Mike Greiling's avatar Mike Greiling

migrate groups:show to static bundle

parent 730c41bb
...@@ -356,9 +356,6 @@ var Dispatcher; ...@@ -356,9 +356,6 @@ var Dispatcher;
.catch(fail); .catch(fail);
break; break;
case 'groups:show': case 'groups:show':
import('./pages/groups/show')
.then(callDefault)
.catch(fail);
shortcut_handler = true; shortcut_handler = true;
break; break;
case 'groups:group_members:index': case 'groups:group_members:index':
......
...@@ -7,7 +7,7 @@ import ProjectsList from '~/projects_list'; ...@@ -7,7 +7,7 @@ import ProjectsList from '~/projects_list';
import ShortcutsNavigation from '~/shortcuts_navigation'; import ShortcutsNavigation from '~/shortcuts_navigation';
import initGroupsList from '../../../groups'; import initGroupsList from '../../../groups';
export default () => { document.addEventListener('DOMContentLoaded', () => {
const newGroupChildWrapper = document.querySelector('.js-new-project-subgroup'); const newGroupChildWrapper = document.querySelector('.js-new-project-subgroup');
new ShortcutsNavigation(); new ShortcutsNavigation();
new NotificationsForm(); new NotificationsForm();
...@@ -19,4 +19,4 @@ export default () => { ...@@ -19,4 +19,4 @@ export default () => {
} }
initGroupsList(); initGroupsList();
}; });
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