diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-06-03 21:03:36 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-06-03 21:03:36 +0200 |
| commit | ebb806cec4af5ccdad795513335c22769cbd7aff (patch) | |
| tree | d7fb55b72d3bee7eb13d3e89680947ebd5584787 /frontend/views/graph/graph.actions.js | |
| parent | 4eea589bd4cdd91294f14943bd90cd3f51f6ec2f (diff) | |
handle changing type more robustly
Diffstat (limited to 'frontend/views/graph/graph.actions.js')
| -rw-r--r-- | frontend/views/graph/graph.actions.js | 4 |
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 }) } |
