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/modals.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/reducers/modals.js') diff --git a/src/reducers/modals.js b/src/reducers/modals.js index 9f73c6ec..3e9f0327 100644 --- a/src/reducers/modals.js +++ b/src/reducers/modals.js @@ -1,4 +1,5 @@ import {combineReducers} from "redux"; +import {OPEN_EXPERIMENT_SUCCEEDED} from "../actions/experiments"; import {CLOSE_NEW_EXPERIMENT_MODAL, OPEN_NEW_EXPERIMENT_MODAL} from "../actions/modals/experiments"; import {CLOSE_DELETE_PROFILE_MODAL, OPEN_DELETE_PROFILE_MODAL} from "../actions/modals/profile"; import {CLOSE_NEW_SIMULATION_MODAL, OPEN_NEW_SIMULATION_MODAL} from "../actions/modals/simulations"; @@ -21,6 +22,7 @@ function modal(openAction, closeAction) { case openAction: return true; case closeAction: + case OPEN_EXPERIMENT_SUCCEEDED: return false; default: return state; -- cgit v1.2.3