summaryrefslogtreecommitdiff
path: root/frontend/views/graph/graph.reducer.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-03 16:47:51 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-03 16:47:51 +0200
commit3e9de575501fd1945b8341f7a4e3a89b73e3cb03 (patch)
treef3adbe4177b2287e9dd2380a19e3260f82aaf3bb /frontend/views/graph/graph.reducer.js
parentabd277bc02d36570038de4c0646a672f5585fa84 (diff)
getting to the page editor with add tile form
Diffstat (limited to 'frontend/views/graph/graph.reducer.js')
-rw-r--r--frontend/views/graph/graph.reducer.js6
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,
}
}