diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-21 15:10:15 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:04 +0200 |
| commit | 0439ccf76f9ccf68c7572deadf38d6a157c439e7 (patch) | |
| tree | e71d3ac9b2ab443d8c49342cc6c7708ba2a00788 /src/reducers/interaction-level.js | |
| parent | da861719c6433a1fc9346da958f0907e52d578ce (diff) | |
Implement last-simulated-tick and states fetching
Diffstat (limited to 'src/reducers/interaction-level.js')
| -rw-r--r-- | src/reducers/interaction-level.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reducers/interaction-level.js b/src/reducers/interaction-level.js index 282e5096..5a45fc68 100644 --- a/src/reducers/interaction-level.js +++ b/src/reducers/interaction-level.js @@ -6,11 +6,13 @@ import { GO_FROM_ROOM_TO_RACK } from "../actions/interaction-level"; import {OPEN_SIMULATION_SUCCEEDED} from "../actions/simulations"; +import {SET_CURRENT_DATACENTER} from "../actions/topology/building"; export function interactionLevel(state = {mode: "BUILDING"}, action) { switch (action.type) { case OPEN_EXPERIMENT_SUCCEEDED: case OPEN_SIMULATION_SUCCEEDED: + case SET_CURRENT_DATACENTER: return { mode: "BUILDING" }; |
