diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-06-02 22:34:16 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-06-02 22:34:16 +0200 |
| commit | abd277bc02d36570038de4c0646a672f5585fa84 (patch) | |
| tree | 91a8955ce1838892dc55389c920370a06ac04a91 /frontend/views/page/page.actions.js | |
| parent | 70a29089cdb05df27cf50b50fcbc2e53d8975571 (diff) | |
stubbing in page editor
Diffstat (limited to 'frontend/views/page/page.actions.js')
| -rw-r--r-- | frontend/views/page/page.actions.js | 13 |
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 }) +} |
