From e9909159dc5db91eda12437e18c1474cae848af7 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Thu, 7 Sep 2017 11:38:42 +0200 Subject: Implement first machine slot listing --- src/sagas/index.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/sagas/index.js') 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); } -- cgit v1.2.3