Skip to content

Commit

Permalink
fix: collection details not shown in the directory app
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantina-gkp committed Mar 21, 2024
2 parents ed881ff + 1312319 commit 872d790
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/directory/src/functions/viewmodelMapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,7 @@ export const getBiobankDetails = (biobank) => {
);
biobank.collectionDetails = [];

const parentCollections = biobank.collections.filter(
(collection) => !collection.parent_collection
);
const parentCollections = biobank.collections;

const sortedParentCollections = sortCollectionsByName(parentCollections);

Expand Down

0 comments on commit 872d790

Please sign in to comment.