diff --git a/src/internal-packages/crud/lib/component/document-list.jsx b/src/internal-packages/crud/lib/component/document-list.jsx index 4725f45b9c9..5547f1ce52c 100644 --- a/src/internal-packages/crud/lib/component/document-list.jsx +++ b/src/internal-packages/crud/lib/component/document-list.jsx @@ -204,10 +204,21 @@ class DocumentList extends React.Component { */ renderDocuments(docs) { return _.map(docs, (doc) => { - return (); + return (); }); } + /** + * Get the key for a doc. + * + * @param {Document} doc - The document. + * + * @returns {String} The unique key. + */ + _key(doc) { + return `${NamespaceStore.ns}_${JSON.stringify(doc._id)}` + } + /** * Determine if the component should update. *