diff --git a/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/redux/actions/landingPageActions.js b/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/redux/actions/landingPageActions.js index 9a567db893deb6cb3697ddb0f3618d355b6ae37c..9901bbe148e1b83dc7fb7e46e1e662d4ef066a7f 100644 --- a/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/redux/actions/landingPageActions.js +++ b/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/redux/actions/landingPageActions.js @@ -1,6 +1,6 @@ export const SET_COMPONENT_SIZES = "SET_COMPONENT_SIZES"; 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) { var payload = {}; @@ -20,6 +20,6 @@ export const setStationStatisticsAveragingWindow = averagingWindow => ({ }); export const setStationStatisticsTestType = test_type => ({ - type: SET_TEST_TYPE, + type: SET_STATISTICS_TEST_TYPE, payload: { test_type } }); diff --git a/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/redux/reducers/landingPageReducers.js b/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/redux/reducers/landingPageReducers.js index cfb5d731fbfafaa4ec9547e896047844e1fe0717..208a05a6fe670b08ba67a99850d459d49548814d 100644 --- a/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/redux/reducers/landingPageReducers.js +++ b/LCU/Maintenance/MDB_WebView/maintenancedb_view/src/redux/reducers/landingPageReducers.js @@ -1,6 +1,6 @@ import { SET_AVERAGING_WINDOW, - SET_TEST_TYPE, + SET_STATISTICS_TEST_TYPE, SET_COMPONENT_SIZES } from '../actions/landingPageActions.js' @@ -94,7 +94,7 @@ export default function(state = initialState, action) { } }; } - case SET_TEST_TYPE: + case SET_STATISTICS_TEST_TYPE: { return { ...state,