Commit 1d3fc67b authored by Constance Okoghenun's avatar Constance Okoghenun

resolved conflicts in app/assets/javascripts/pages/search/init_filtered_search.js

parent d30fcd83
import FilteredSearchManager from '~/filtered_search/filtered_search_manager';
<<<<<<< HEAD
export default ({ page, filteredSearchTokenKeys, stateFiltersSelector }) => {
const filteredSearchEnabled = FilteredSearchManager && document.querySelector('.filtered-search');
if (filteredSearchEnabled) {
......@@ -9,12 +8,6 @@ export default ({ page, filteredSearchTokenKeys, stateFiltersSelector }) => {
filteredSearchTokenKeys,
stateFiltersSelector,
});
=======
export default ({ page }) => {
const filteredSearchEnabled = FilteredSearchManager && document.querySelector('.filtered-search');
if (filteredSearchEnabled) {
const filteredSearchManager = new FilteredSearchManager({ page });
>>>>>>> upstream/master
filteredSearchManager.setup();
}
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment