diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-19 15:39:58 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:43 +0200 |
| commit | 19033b8460cb43dc2fa34a2cffa932b5efe111ca (patch) | |
| tree | 79bde2093acce8d8192d27e288d61bc53cf99e07 /src/reducers/simulations.js | |
| parent | 434be6d21ad665cb6abdf5138d0c563efbfe00b4 (diff) | |
Add profile page
Diffstat (limited to 'src/reducers/simulations.js')
| -rw-r--r-- | src/reducers/simulations.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/reducers/simulations.js b/src/reducers/simulations.js index 9d830877..7d0b9d66 100644 --- a/src/reducers/simulations.js +++ b/src/reducers/simulations.js @@ -1,8 +1,6 @@ import { ADD_SIMULATION_SUCCEEDED, - CLOSE_NEW_SIMULATION_MODAL, DELETE_SIMULATION_SUCCEEDED, - OPEN_NEW_SIMULATION_MODAL, SET_AUTH_VISIBILITY_FILTER } from "../actions/simulations"; import {FETCH_AUTHORIZATIONS_OF_CURRENT_USER_SUCCEEDED} from "../actions/users"; @@ -23,17 +21,6 @@ export function authorizationsOfCurrentUser(state = [], action) { } } -export function newSimulationModalVisible(state = false, action) { - switch (action.type) { - case OPEN_NEW_SIMULATION_MODAL: - return true; - case CLOSE_NEW_SIMULATION_MODAL: - return false; - default: - return state; - } -} - export function authVisibilityFilter(state = "SHOW_ALL", action) { switch (action.type) { case SET_AUTH_VISIBILITY_FILTER: |
