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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
307 B
JavaScript
Raw Normal View History

2022-05-07 20:08:51 +05:30
const createState = ({
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,
2022-05-07 20:08:51 +05:30
search,
}) => ({
searchPath,
issuesPath,
mrPath,
autocompletePath,
searchContext,
search,
2021-11-18 22:05:49 +05:30
autocompleteOptions: [],
2022-05-07 20:08:51 +05:30
autocompleteError: false,
2021-11-18 22:05:49 +05:30
loading: false,
2021-11-11 11:23:49 +05:30
});
export default createState;