All files / ee/app/assets/javascripts/pages/groups/epics/index index.js

0% Statements 0/6
0% Branches 0/2
100% Functions 0/0
0% Lines 0/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26                                                   
import initEpicCreateApp from 'ee/epic/epic_bundle';
import initEpicsList from 'ee/epics_list/epics_list_bundle';
import FilteredSearchTokenKeysEpics from 'ee/filtered_search/filtered_search_token_keys_epics';
import { initBulkUpdateSidebar } from '~/issuable/bulk_update_sidebar';
import initFilteredSearch from '~/pages/search/init_filtered_search';
 
const EPIC_BULK_UPDATE_PREFIX = 'epic_';
 
if (gon.features.vueEpicsList) {
  initEpicsList({
    mountPointSelector: '#js-epics-list',
  });
} else {
  initFilteredSearch({
    page: 'epics',
    isGroup: true,
    isGroupDecendent: true,
    useDefaultState: true,
    filteredSearchTokenKeys: FilteredSearchTokenKeysEpics,
    stateFiltersSelector: '.epics-state-filters',
  });
 
  initEpicCreateApp(true);
  initBulkUpdateSidebar(EPIC_BULK_UPDATE_PREFIX);
}