diff options
Diffstat (limited to 'frontend/views/graph/graph.reducer.js')
| -rw-r--r-- | frontend/views/graph/graph.reducer.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/frontend/views/graph/graph.reducer.js b/frontend/views/graph/graph.reducer.js index 9e682e4..3dcea1d 100644 --- a/frontend/views/graph/graph.reducer.js +++ b/frontend/views/graph/graph.reducer.js @@ -42,6 +42,7 @@ export default function graphReducer(state = initialState, action) { editor: { ...state.editor, addingPage: true, + editingPage: false, } } @@ -59,7 +60,8 @@ export default function graphReducer(state = initialState, action) { ...state, editor: { ...state.editor, - addingPage: true, + addingPage: false, + editingPage: true, } } @@ -68,7 +70,7 @@ export default function graphReducer(state = initialState, action) { ...state, editor: { ...state.editor, - addingPage: false, + editingPage: false, } } |
