summaryrefslogtreecommitdiff
path: root/frontend/views/graph/graph.actions.js
diff options
context:
space:
mode:
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 })
+}