summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/header_search/store/mutations.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/header_search/store/mutations.js')
-rw-r--r--app/assets/javascripts/header_search/store/mutations.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/header_search/store/mutations.js b/app/assets/javascripts/header_search/store/mutations.js
new file mode 100644
index 00000000000..5b1438929d4
--- /dev/null
+++ b/app/assets/javascripts/header_search/store/mutations.js
@@ -0,0 +1,7 @@
+import * as types from './mutation_types';
+
+export default {
+ [types.SET_SEARCH](state, value) {
+ state.search = value;
+ },
+};