summaryrefslogtreecommitdiff
path: root/src/sagas/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/sagas/index.js')
-rw-r--r--src/sagas/index.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sagas/index.js b/src/sagas/index.js
index 024e40aa..e6c48da4 100644
--- a/src/sagas/index.js
+++ b/src/sagas/index.js
@@ -2,11 +2,14 @@ import {takeEvery} from "redux-saga/effects";
import {LOG_IN} from "../actions/auth";
import {ADD_SIMULATION, DELETE_SIMULATION} from "../actions/simulations";
import {
+ ADD_MACHINE,
ADD_RACK_TO_TILE,
ADD_TILE,
CANCEL_NEW_ROOM_CONSTRUCTION,
+ DELETE_RACK,
DELETE_ROOM,
DELETE_TILE,
+ EDIT_RACK_NAME,
EDIT_ROOM_NAME,
FETCH_LATEST_DATACENTER,
START_NEW_ROOM_CONSTRUCTION
@@ -15,11 +18,14 @@ import {DELETE_CURRENT_USER, FETCH_AUTHORIZATIONS_OF_CURRENT_USER} from "../acti
import {onDeleteCurrentUser} from "./profile";
import {onSimulationAdd, onSimulationDelete} from "./simulations";
import {
+ onAddMachine,
onAddRackToTile,
onAddTile,
onCancelNewRoomConstruction,
+ onDeleteRack,
onDeleteRoom,
onDeleteTile,
+ onEditRackName,
onEditRoomName,
onFetchLatestDatacenter,
onStartNewRoomConstruction
@@ -39,5 +45,8 @@ export default function* rootSaga() {
yield takeEvery(DELETE_TILE, onDeleteTile);
yield takeEvery(EDIT_ROOM_NAME, onEditRoomName);
yield takeEvery(DELETE_ROOM, onDeleteRoom);
+ yield takeEvery(EDIT_RACK_NAME, onEditRackName);
+ yield takeEvery(DELETE_RACK, onDeleteRack);
yield takeEvery(ADD_RACK_TO_TILE, onAddRackToTile);
+ yield takeEvery(ADD_MACHINE, onAddMachine);
}