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

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

12 lines
246 B
JavaScript
Raw Normal View History

2021-02-22 17:27:13 +05:30
export default ({ dropdownType = '' } = {}) => ({
2018-11-08 19:23:39 +05:30
namespace: '',
2021-02-22 17:27:13 +05:30
dropdownType,
2018-11-08 19:23:39 +05:30
storageKey: '',
searchQuery: '',
isLoadingItems: false,
isFetchFailed: false,
2023-03-17 16:20:25 +05:30
isItemsListEditable: false,
isItemRemovalFailed: false,
2018-11-08 19:23:39 +05:30
items: [],
});