summaryrefslogtreecommitdiff
path: root/frontend/views/page/page.actions.js
blob: cfd0f9889df72b1a8d3f36f3a62cdad3c3b4ae27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 })
}