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.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/views/graph/graph.actions.js b/frontend/views/graph/graph.actions.js
new file mode 100644
index 0000000..2e6ca54
--- /dev/null
+++ b/frontend/views/graph/graph.actions.js
@@ -0,0 +1,9 @@
+import * as types from '../../types'
+
+export const showAddPageForm = () => dispatch => {
+ dispatch({ type: types.graph.show_add_page_form })
+}
+
+export const hideAddPageForm = () => dispatch => {
+ dispatch({ type: types.graph.hide_add_page_form })
+}