diff --git a/packages/components-faraday/src/components/Dashboard/DashboardCard.js b/packages/components-faraday/src/components/Dashboard/DashboardCard.js index baedc2781581da2aab5a77c30e2c4452eb961442..a47c5ee88f996f8589cbb57a9eea808c6cfbfe71 100644 --- a/packages/components-faraday/src/components/Dashboard/DashboardCard.js +++ b/packages/components-faraday/src/components/Dashboard/DashboardCard.js @@ -169,7 +169,9 @@ const DashboardCard = ({ const isHEToManuscript = (state, collectionId) => { const currentUserId = get(state, 'currentUser.user.id') const collections = get(state, 'collections') || [] - const collection = collections.find(c => c.id === collectionId) || {} + const collection = collections.find(c => c.id === collectionId) || { + invitations: [], + } const userInvitation = collection.invitations.find( i => i.role === 'handlingEditor' && i.userId === currentUserId, )