Skip to content

Commit

Permalink
[Platform]: publication drawer in study page (#610)
Browse files Browse the repository at this point in the history
  • Loading branch information
d0choa authored Dec 9, 2024
1 parent a558eff commit e4ff874
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions apps/platform/src/pages/StudyPage/StudyProfileHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
SummaryStatsTable,
LabelChip,
DisplaySampleSize,
PublicationsDrawer,
} from "ui";
import { Box } from "@mui/material";
import { populationMap } from "../../constants";
Expand Down Expand Up @@ -114,9 +115,10 @@ function ProfileHeader() {
)}
{pubmedId &&
<Field loading={loading} title="PubMed">
<Link external to={`https://europepmc.org/article/med/${pubmedId}`}>
{pubmedId}
</Link>
<PublicationsDrawer
name={pubmedId}
entries={[{ name: pubmedId }]}
/>
</Field>
}
</Box>
Expand Down

0 comments on commit e4ff874

Please sign in to comment.