From 3e9de575501fd1945b8341f7a4e3a89b73e3cb03 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 3 Jun 2020 16:47:51 +0200 Subject: getting to the page editor with add tile form --- frontend/views/graph/graph.reducer.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'frontend/views/graph/graph.reducer.js') 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, } } -- cgit v1.2.3-70-g09d2