Skip to content
Snippets Groups Projects
Commit 97fc025d authored by Bogdan Cochior's avatar Bogdan Cochior
Browse files

fix: initialize collection

parent 2e90c74c
No related branches found
No related tags found
1 merge request!58Sprint #20 - Goal - Reviewers submit report
......@@ -188,7 +188,7 @@ const parseInvitedHE = (handlingEditor, state, collectionId) =>
const hideCustomIdStatuses = ['draft', 'technicalChecks']
export const parseCollectionDetails = (state, collection) => ({
export const parseCollectionDetails = (state, collection = {}) => ({
...collection,
customId:
!hideCustomIdStatuses.includes(get(collection, 'status', 'draft')) &&
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment