diff options
Diffstat (limited to 'frontend/src/sagas/prefabs.js')
| -rw-r--r-- | frontend/src/sagas/prefabs.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/src/sagas/prefabs.js b/frontend/src/sagas/prefabs.js index 1756095c..80ba2f80 100644 --- a/frontend/src/sagas/prefabs.js +++ b/frontend/src/sagas/prefabs.js @@ -5,7 +5,8 @@ import {getTopologyAsObject} from "./objects"; export function* onAddPrefab(action) { try { - //console.log("DEBUG: " + state.objects.tile[state.interactionLevel.tileId].rack._id) + const state = yield select((state) => state) + console.log("DEBUG: " + state.objects.tile[state.interactionLevel.tileId].rack._id) const currentRackId = yield select((state) => state.objects.tile[state.interactionLevel.tileId].rack._id) const currentRackJson = yield call(getTopologyAsObject, currentRackId) //TODO: yield call the function in saga to export the specific part of the topology |
