Skip to content
Snippets Groups Projects
Commit e2024a2a authored by Mattia Mancini's avatar Mattia Mancini
Browse files

OSB-31: making the select station type event local to the main page

parent 7ab00eaa
No related branches found
No related tags found
2 merge requests!89Monitoring maintenance Epic branch merge,!1Resolve OSB-13 "Monitoringmaintenance "
export const SET_COMPONENT_SIZES = "SET_COMPONENT_SIZES"; export const SET_COMPONENT_SIZES = "SET_COMPONENT_SIZES";
export const SET_AVERAGING_WINDOW = "SET_AVERAGING_WINDOW"; export const SET_AVERAGING_WINDOW = "SET_AVERAGING_WINDOW";
export const SET_TEST_TYPE = "SET_TEST_TYPE"; export const SET_STATISTICS_TEST_TYPE = "SET_STATISTICS_TEST_TYPE";
export const setNewLayout = function(newLayout) { export const setNewLayout = function(newLayout) {
var payload = {}; var payload = {};
...@@ -20,6 +20,6 @@ export const setStationStatisticsAveragingWindow = averagingWindow => ({ ...@@ -20,6 +20,6 @@ export const setStationStatisticsAveragingWindow = averagingWindow => ({
}); });
export const setStationStatisticsTestType = test_type => ({ export const setStationStatisticsTestType = test_type => ({
type: SET_TEST_TYPE, type: SET_STATISTICS_TEST_TYPE,
payload: { test_type } payload: { test_type }
}); });
import { import {
SET_AVERAGING_WINDOW, SET_AVERAGING_WINDOW,
SET_TEST_TYPE, SET_STATISTICS_TEST_TYPE,
SET_COMPONENT_SIZES SET_COMPONENT_SIZES
} from '../actions/landingPageActions.js' } from '../actions/landingPageActions.js'
...@@ -94,7 +94,7 @@ export default function(state = initialState, action) { ...@@ -94,7 +94,7 @@ export default function(state = initialState, action) {
} }
}; };
} }
case SET_TEST_TYPE: case SET_STATISTICS_TEST_TYPE:
{ {
return { return {
...state, ...state,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment