summaryrefslogtreecommitdiff
path: root/frontend/views/page/page.actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/views/page/page.actions.js')
-rw-r--r--frontend/views/page/page.actions.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/frontend/views/page/page.actions.js b/frontend/views/page/page.actions.js
new file mode 100644
index 0000000..cfd0f98
--- /dev/null
+++ b/frontend/views/page/page.actions.js
@@ -0,0 +1,13 @@
+import * as types from '../../types'
+
+export const showAddTileForm = () => dispatch => {
+ dispatch({ type: types.graph.show_add_tile_form })
+}
+
+export const hideAddTileForm = () => dispatch => {
+ dispatch({ type: types.graph.hide_add_tile_form })
+}
+
+export const updatePageTile = tile => dispatch => {
+ dispatch({ type: types.graph.update_graph_tile, tile })
+}