summaryrefslogtreecommitdiff
path: root/src/reducers/modals.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/reducers/modals.js')
-rw-r--r--src/reducers/modals.js2
1 files changed, 2 insertions, 0 deletions
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;