debian-mirror-gitlab/app/assets/javascripts/search/index.js

10 lines
282 B
JavaScript
Raw Normal View History

2021-01-03 14:25:43 +05:30
import { queryToObject } from '~/lib/utils/url_utility';
import createStore from './store';
import initDropdownFilters from './dropdown_filter';
export default () => {
const store = createStore({ query: queryToObject(window.location.search) });
initDropdownFilters(store);
};