diff options
Diffstat (limited to 'app/assets/javascripts/header_search/store/actions.js')
-rw-r--r-- | app/assets/javascripts/header_search/store/actions.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/header_search/store/actions.js b/app/assets/javascripts/header_search/store/actions.js new file mode 100644 index 00000000000..841aee04029 --- /dev/null +++ b/app/assets/javascripts/header_search/store/actions.js @@ -0,0 +1,5 @@ +import * as types from './mutation_types'; + +export const setSearch = ({ commit }, value) => { + commit(types.SET_SEARCH, value); +}; |