diff options
author | Phil Hughes <me@iamphill.com> | 2018-05-24 17:07:09 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-05-24 17:07:09 +0300 |
commit | 8b1c43bde36c902d138b06dfb91ffab4bc1eb8ad (patch) | |
tree | fea870c265a48e4bbda0d330718e4499473c08da /app/assets/javascripts/ide/stores/mutations.js | |
parent | 1e48b7eec0499e44eb1dcd32393005f709b5c816 (diff) |
spec fixes
Diffstat (limited to 'app/assets/javascripts/ide/stores/mutations.js')
-rw-r--r-- | app/assets/javascripts/ide/stores/mutations.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/stores/mutations.js b/app/assets/javascripts/ide/stores/mutations.js index 375b4d8233d..633c93ed0a8 100644 --- a/app/assets/javascripts/ide/stores/mutations.js +++ b/app/assets/javascripts/ide/stores/mutations.js @@ -149,7 +149,9 @@ export default { }); }, [types.SET_RIGHT_PANE](state, view) { - state.rightPane = state.rightPane === view ? null : view; + Object.assign(state, { + rightPane: state.rightPane === view ? null : view, + }); }, ...projectMutations, ...mergeRequestMutation, |