diff --git a/apps/platform/src/pages/CredibleSetPage/ProfileHeader.tsx b/apps/platform/src/pages/CredibleSetPage/ProfileHeader.tsx index ad7c568ee..ec5f2e263 100644 --- a/apps/platform/src/pages/CredibleSetPage/ProfileHeader.tsx +++ b/apps/platform/src/pages/CredibleSetPage/ProfileHeader.tsx @@ -221,6 +221,11 @@ function ProfileHeader() { )} {study?.studyType !== "gwas" && ( <> + {study?.projectId && ( + + {study?.projectId?.replace(/_/gi, " ")} + + )} {target?.id && ( {target.approvedSymbol} diff --git a/apps/platform/src/pages/StudyPage/StudyProfileHeader.gql b/apps/platform/src/pages/StudyPage/StudyProfileHeader.gql index 4f04c6e46..aebef59f1 100644 --- a/apps/platform/src/pages/StudyPage/StudyProfileHeader.gql +++ b/apps/platform/src/pages/StudyPage/StudyProfileHeader.gql @@ -5,6 +5,7 @@ fragment StudyProfileHeaderFragment on Gwas { publicationJournal pubmedId traitFromSource + projectId backgroundTraits { id name diff --git a/apps/platform/src/pages/StudyPage/StudyProfileHeader.tsx b/apps/platform/src/pages/StudyPage/StudyProfileHeader.tsx index 3e315d1ef..c001c9cf3 100644 --- a/apps/platform/src/pages/StudyPage/StudyProfileHeader.tsx +++ b/apps/platform/src/pages/StudyPage/StudyProfileHeader.tsx @@ -33,6 +33,7 @@ function ProfileHeader() { traitFromSource, backgroundTraits, diseases, + projectId, target, nCases, nControls, @@ -80,6 +81,11 @@ function ProfileHeader() { )} {studyType !== "gwas" && ( // QTL <> + {projectId && ( + + {projectId?.replace(/_/gi, " ")} + + )} {target?.id && ( {target.approvedSymbol}