PR feedback, remove collectionId

This commit is contained in:
Tom Moor
2017-11-26 18:18:04 -08:00
parent 94c2cc09ee
commit 33fea77a86
4 changed files with 2 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ class DocumentsStore extends BaseStore {
return _.orderBy(
_.filter(
this.data.values(),
document => document.collectionId === collectionId
document => document.collection.id === collectionId
),
'updatedAt',
'desc'