summaryrefslogtreecommitdiff
path: root/frontend/views/graph/graph.actions.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-06-02 22:21:36 +0200
committerJules Laplace <julescarbon@gmail.com>2020-06-02 22:21:36 +0200
commit70a29089cdb05df27cf50b50fcbc2e53d8975571 (patch)
tree052e7b81291d8ac0c5639c32e4a6f98ce593ba38 /frontend/views/graph/graph.actions.js
parent097e54d4c0646a809eba4ed69929b2a16b682754 (diff)
updating after dragging
Diffstat (limited to 'frontend/views/graph/graph.actions.js')
-rw-r--r--frontend/views/graph/graph.actions.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontend/views/graph/graph.actions.js b/frontend/views/graph/graph.actions.js
index 2e6ca54..90d0f96 100644
--- a/frontend/views/graph/graph.actions.js
+++ b/frontend/views/graph/graph.actions.js
@@ -7,3 +7,7 @@ export const showAddPageForm = () => dispatch => {
export const hideAddPageForm = () => dispatch => {
dispatch({ type: types.graph.hide_add_page_form })
}
+
+export const updateGraphPage = page => dispatch => {
+ dispatch({ type: types.graph.update_graph_page, page })
+}