From e2024a2a4f23a89b465623d1f250eb44b491ff74 Mon Sep 17 00:00:00 2001
From: Mattia Mancini <mancini@astron.nl>
Date: Thu, 8 Nov 2018 10:58:42 +0000
Subject: [PATCH] OSB-31: making the select station type event local to the
 main page

---
 .../src/redux/actions/landingPageActions.js                   | 4 ++--
 .../src/redux/reducers/landingPageReducers.js                 | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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 9a567db893d..9901bbe148e 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 cfb5d731fbf..208a05a6fe6 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,
-- 
GitLab