debian-mirror-gitlab/app/assets/javascripts/header_search/store/state.js

12 lines
262 B
JavaScript
Raw Normal View History

2021-11-18 22:05:49 +05:30
const createState = ({ searchPath, issuesPath, mrPath, autocompletePath, searchContext }) => ({
2021-11-11 11:23:49 +05:30
searchPath,
issuesPath,
mrPath,
2021-11-18 22:05:49 +05:30
autocompletePath,
2021-11-11 11:23:49 +05:30
searchContext,
search: '',
2021-11-18 22:05:49 +05:30
autocompleteOptions: [],
loading: false,
2021-11-11 11:23:49 +05:30
});
export default createState;