diff options
Diffstat (limited to 'app/assets/javascripts/whats_new/store/mutations.js')
-rw-r--r-- | app/assets/javascripts/whats_new/store/mutations.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/javascripts/whats_new/store/mutations.js b/app/assets/javascripts/whats_new/store/mutations.js new file mode 100644 index 00000000000..f7e84ee81a9 --- /dev/null +++ b/app/assets/javascripts/whats_new/store/mutations.js @@ -0,0 +1,10 @@ +import * as types from './mutation_types'; + +export default { + [types.CLOSE_DRAWER](state) { + state.open = false; + }, + [types.OPEN_DRAWER](state) { + state.open = true; + }, +}; |