format actions

This commit is contained in:
Sérgio Ramos 2017-02-07 15:53:23 +00:00
parent 6d5922e399
commit 666a031eb3

View File

@ -39,15 +39,24 @@ const orgMemberActions = {
module.exports = { module.exports = {
...require('@state/thunks'), ...require('@state/thunks'),
updateRouter: createAction(`${APP}/UPDATE_ROUTER`), updateRouter:
toggleHeaderTooltip: createAction(`${APP}/TOGGLE_HEADER_TOOLTIP`), createAction(`${APP}/UPDATE_ROUTER`),
toggleServiceCollapsed: createAction(`${APP}/TOGGLE_SERVICE_COLLAPSED`), toggleHeaderTooltip:
addMetric: createAction(`${APP}/ADD_METRIC`), createAction(`${APP}/TOGGLE_HEADER_TOOLTIP`),
metricDurationChange: createAction(`${APP}/METRIC_DURATION_CHANGE`), toggleServiceCollapsed:
toggleInstanceCollapsed: createAction(`${APP}/TOGGLE_INSTANCE_COLLAPSED`), createAction(`${APP}/TOGGLE_SERVICE_COLLAPSED`),
toggleMonitorView: createAction(`${APP}/TOGGLE_MONITOR_VIEW`), addMetric:
switchMonitorViewPage: createAction(`${APP}/SWITCH_MONITOR_VIEW_PAGE`), createAction(`${APP}/ADD_METRIC`),
handleNewProject: createAction(`${APP}/CREATE_NEW_PROJECT`), metricDurationChange:
createAction(`${APP}/METRIC_DURATION_CHANGE`),
toggleInstanceCollapsed:
createAction(`${APP}/TOGGLE_INSTANCE_COLLAPSED`),
toggleMonitorView:
createAction(`${APP}/TOGGLE_MONITOR_VIEW`),
switchMonitorViewPage:
createAction(`${APP}/SWITCH_MONITOR_VIEW_PAGE`),
handleNewProject:
createAction(`${APP}/CREATE_NEW_PROJECT`),
...orgMemberActions, ...orgMemberActions,
...projectMemberActions, ...projectMemberActions,
}; };