debian-mirror-gitlab/app/assets/javascripts/search/index.js
2021-01-30 21:13:32 +05:30

9 lines
282 B
JavaScript

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);
};