Commit a0ddcf3f authored by Simon Knox's avatar Simon Knox

add missing pages import for projects:compare:*

parent 1644c1ac
...@@ -13,7 +13,6 @@ import Project from './project'; ...@@ -13,7 +13,6 @@ import Project from './project';
import projectAvatar from './project_avatar'; import projectAvatar from './project_avatar';
import MergeRequest from './merge_request'; import MergeRequest from './merge_request';
import Compare from './compare'; import Compare from './compare';
import initCompareAutocomplete from './compare_autocomplete';
import ProjectNew from './project_new'; import ProjectNew from './project_new';
import Labels from './labels'; import Labels from './labels';
import LabelManager from './label_manager'; import LabelManager from './label_manager';
...@@ -638,7 +637,9 @@ import Activities from './activities'; ...@@ -638,7 +637,9 @@ import Activities from './activities';
projectAvatar(); projectAvatar();
switch (path[1]) { switch (path[1]) {
case 'compare': case 'compare':
initCompareAutocomplete(); import('./pages/projects/compare')
.then(callDefault)
.catch(fail);
break; break;
case 'edit': case 'edit':
shortcut_handler = new ShortcutsNavigation(); shortcut_handler = new ShortcutsNavigation();
......
import initCompareAutocomplete from './compare_autocomplete';
export default () => {
initCompareAutocomplete();
};
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