From 85901acea556c69891b13ab7299cd62445292c7a Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Wed, 1 Jul 2020 14:02:06 +0200 Subject: Fix simulation interface --- frontend/src/reducers/objects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/reducers') 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) { -- cgit v1.2.3