Skip to content

Commit

Permalink
Move Orphanet from clinical synopsis mapping subset to being just ano…
Browse files Browse the repository at this point in the history
…ther additional mapping (#883)
  • Loading branch information
kevinschaper authored Nov 2, 2024
1 parent 4425a2a commit 714b664
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions frontend/src/pages/node/SectionOverview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const props = defineProps<Props>();
const clinicalSynopsis = computed(
() =>
props.node.mappings?.filter(({ id }) =>
["OMIM:", "Orphanet:"].some((prefix) => id.startsWith(prefix)),
["OMIM:"].some((prefix) => id.startsWith(prefix)),
) || [],
);
const infoForPatients = computed(
Expand All @@ -181,10 +181,7 @@ const infoForPatients = computed(
const otherMappings = computed(
() =>
props.node.mappings?.filter(
({ id }) =>
!["OMIM:", "GARD:", "Orphanet:"].some((prefix) =>
id.startsWith(prefix),
),
({ id }) => !["OMIM:", "GARD:"].some((prefix) => id.startsWith(prefix)),
) || [],
);

Expand Down

0 comments on commit 714b664

Please sign in to comment.