summaryrefslogtreecommitdiff
path: root/frontend/src/reducers/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/reducers/objects.js')
-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) {