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

17 lines
659 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import projectSelect from '~/project_select';
2019-02-15 15:39:39 +05:30
import initFilteredSearch from '~/pages/search/init_filtered_search';
2019-07-07 11:18:12 +05:30
import addExtraTokensForMergeRequests from 'ee_else_ce/filtered_search/add_extra_tokens_for_merge_requests';
2019-02-15 15:39:39 +05:30
import IssuableFilteredSearchTokenKeys from '~/filtered_search/issuable_filtered_search_token_keys';
import { FILTERED_SEARCH } from '~/pages/constants';
2018-03-17 18:26:18 +05:30
2018-03-27 19:54:05 +05:30
document.addEventListener('DOMContentLoaded', () => {
2019-07-07 11:18:12 +05:30
addExtraTokensForMergeRequests(IssuableFilteredSearchTokenKeys);
2019-02-15 15:39:39 +05:30
initFilteredSearch({
page: FILTERED_SEARCH.MERGE_REQUESTS,
filteredSearchTokenKeys: IssuableFilteredSearchTokenKeys,
});
2018-03-17 18:26:18 +05:30
projectSelect();
2018-03-27 19:54:05 +05:30
});