Skip to content
Snippets Groups Projects
Commit 62928a3f authored by Clement Ho's avatar Clement Ho
Browse files

Refactor dispatcher search path

parent 82007530
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -14,7 +14,6 @@ import GroupLabelSubscription from './group_label_subscription';
import LineHighlighter from './line_highlighter';
import BuildArtifacts from './build_artifacts';
import groupsSelect from './groups_select';
import Search from './search';
import initAdmin from './admin';
import NamespaceSelect from './namespace_select';
import NewCommitForm from './new_commit_form';
Loading
Loading
@@ -528,7 +527,9 @@ import Activities from './activities';
VersionCheckImage.bindErrorEvent($('img.js-version-status-badge'));
break;
case 'search:show':
new Search();
import('./pages/search/show')
.then(callDefault)
.catch(fail);
break;
case 'projects:settings:repository:show':
// Initialize expandable settings panels
Loading
Loading
import Search from './search';
export default () => new Search();
import Flash from './flash';
import Api from './api';
import Flash from '~/flash';
import Api from '~/api';
 
export default class Search {
constructor() {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment