Skip to content

Commit

Permalink
Exchange string for actual property for typesafety.
Browse files Browse the repository at this point in the history
  • Loading branch information
hweej committed Oct 30, 2024
1 parent c4f1df8 commit f8aff81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/studyView/resources/FilesAndLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async function fetchFilesLinksData(
.filter(resource =>
selectedIds.has(resource.sampleId || resource.patientId)
)
.groupBy('patientId')
.groupBy(r => r.patientId)
.value();

// we create objects with the necessary properties for each resource
Expand Down

0 comments on commit f8aff81

Please sign in to comment.