From da861719c6433a1fc9346da958f0907e52d578ce Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 21 Sep 2017 10:20:50 +0200 Subject: Show experiment and trace data on left-hand sidebar --- src/reducers/construction-mode.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/reducers/construction-mode.js') diff --git a/src/reducers/construction-mode.js b/src/reducers/construction-mode.js index 3e0b7542..e97c817e 100644 --- a/src/reducers/construction-mode.js +++ b/src/reducers/construction-mode.js @@ -1,4 +1,5 @@ import {combineReducers} from "redux"; +import {OPEN_EXPERIMENT_SUCCEEDED} from "../actions/experiments"; import { CANCEL_NEW_ROOM_CONSTRUCTION_SUCCEEDED, FINISH_NEW_ROOM_CONSTRUCTION, @@ -12,6 +13,7 @@ export function currentRoomInConstruction(state = -1, action) { return action.roomId; case CANCEL_NEW_ROOM_CONSTRUCTION_SUCCEEDED: case FINISH_NEW_ROOM_CONSTRUCTION: + case OPEN_EXPERIMENT_SUCCEEDED: return -1; default: return state; @@ -23,6 +25,7 @@ export function inRackConstructionMode(state = false, action) { case START_RACK_CONSTRUCTION: return true; case STOP_RACK_CONSTRUCTION: + case OPEN_EXPERIMENT_SUCCEEDED: return false; default: return state; -- cgit v1.2.3