debian-mirror-gitlab/app/assets/javascripts/pages/groups/merge_requests/index.js

16 lines
578 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import projectSelect from '~/project_select';
import initFilteredSearch from '~/pages/search/init_filtered_search';
2018-12-05 23:21:45 +05:30
import IssuableFilteredSearchTokenKeys from '~/filtered_search/issuable_filtered_search_token_keys';
2018-03-17 18:26:18 +05:30
import { FILTERED_SEARCH } from '~/pages/constants';
2018-03-27 19:54:05 +05:30
document.addEventListener('DOMContentLoaded', () => {
2018-12-05 23:21:45 +05:30
IssuableFilteredSearchTokenKeys.addExtraTokensForMergeRequests();
2018-03-17 18:26:18 +05:30
initFilteredSearch({
page: FILTERED_SEARCH.MERGE_REQUESTS,
2018-05-09 12:01:36 +05:30
isGroupDecendent: true,
2018-12-05 23:21:45 +05:30
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
2018-03-17 18:26:18 +05:30
});
projectSelect();
2018-03-27 19:54:05 +05:30
});