summaryrefslogtreecommitdiff
path: root/frontend/src/reducers
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-01 14:02:06 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:47:20 +0200
commit85901acea556c69891b13ab7299cd62445292c7a (patch)
tree3daffa1a9600df8471a78db719b7964b0bc5c9ef /frontend/src/reducers
parentde8f12d74faef5fa3f9e38d1340948cab2d06ea3 (diff)
Fix simulation interface
Diffstat (limited to 'frontend/src/reducers')
-rw-r--r--frontend/src/reducers/objects.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/reducers/objects.js b/frontend/src/reducers/objects.js
index 2e9644d0..1dc1e7e8 100644
--- a/frontend/src/reducers/objects.js
+++ b/frontend/src/reducers/objects.js
@@ -35,7 +35,7 @@ export const objects = combineReducers({
})
function object(type) {
- return objectWithId(type, object => object.id)
+ return objectWithId(type, object => object._id)
}
function objectWithId(type, getId) {