summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pages/projects/merge_requests/index/index.js
blob: b386e8fb48db8ebeebaafb1c322f835323c39eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import IssuableIndex from '~/issuable_index';
import ShortcutsNavigation from '~/shortcuts_navigation';
import UsersSelect from '~/users_select';
import initFilteredSearch from '~/pages/search/init_filtered_search';
import { FILTERED_SEARCH } from '~/pages/constants';
import { ISSUABLE_INDEX } from '~/pages/projects/constants';

export default () => {
  initFilteredSearch(FILTERED_SEARCH.MERGE_REQUESTS);
  new IssuableIndex(ISSUABLE_INDEX.MERGE_REQUEST); // eslint-disable-line no-new
  new ShortcutsNavigation(); // eslint-disable-line no-new
  new UsersSelect(); // eslint-disable-line no-new
};