diff options
| author | jc0b <j@jc0b.computer> | 2020-07-28 17:49:17 +0200 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2020-08-24 19:48:28 +0200 |
| commit | 39aa5c22d893769fcfa8501eaa95c82014906a2a (patch) | |
| tree | 1e756b0b9569df5dad731972d66fb1a98c3c3405 /frontend/src/sagas | |
| parent | 59edee46aecc44e71acd1acc206636b05b39f0d4 (diff) | |
Some debugging stuff
Diffstat (limited to 'frontend/src/sagas')
| -rw-r--r-- | frontend/src/sagas/prefabs.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/sagas/prefabs.js b/frontend/src/sagas/prefabs.js index 94570404..1756095c 100644 --- a/frontend/src/sagas/prefabs.js +++ b/frontend/src/sagas/prefabs.js @@ -5,6 +5,7 @@ import {getTopologyAsObject} from "./objects"; export function* onAddPrefab(action) { try { + //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 |
