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 90d0f96..1ee6999 100644
--- a/frontend/views/graph/graph.actions.js
+++ b/frontend/views/graph/graph.actions.js
@@ -8,6 +8,10 @@ export const hideAddPageForm = () => dispatch => {
dispatch({ type: types.graph.hide_add_page_form })
}
+export const toggleAddPageForm = () => dispatch => {
+ dispatch({ type: types.graph.toggle_add_page_form })
+}
+
export const updateGraphPage = page => dispatch => {
dispatch({ type: types.graph.update_graph_page, page })
}