debian-mirror-gitlab/app/assets/javascripts/frequent_items/store/state.js
2021-02-22 17:27:13 +05:30

9 lines
186 B
JavaScript

export default ({ dropdownType = '' } = {}) => ({
namespace: '',
dropdownType,
storageKey: '',
searchQuery: '',
isLoadingItems: false,
isFetchFailed: false,
items: [],
});