Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- fix bug where 'undefined' string was displayed
- fix ADKP bug where ACK_CONTEXT markdown was displayed twice instead of the specific acknowledgement statement for the study
  • Loading branch information
nickgros committed Dec 4, 2024
1 parent 6aef115 commit 81a80e5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const studyDetailsTabContent: DetailsPageSectionLayoutType[] = [
columnName={STUDY_TABLE_COLUMN_NAMES.ACK_CONTEXT}
/>
<MarkdownSynapseFromColumnData
columnName={STUDY_TABLE_COLUMN_NAMES.ACK_CONTEXT}
columnName={STUDY_TABLE_COLUMN_NAMES.ACKNOWLEDGEMENT}
MarkdownCollapseProps={{
title: 'Acknowledgement Statement',
textDescription: 'full statement',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export function DetailsPageContextConsumer(
<DetailsPageContext.Consumer>
{(context: DetailsPageContextType) => {
const value = getValue(context, columnName)
console.log(context, value)
return children({ context, value })
}}
</DetailsPageContext.Consumer>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function HeadlineWithLinkDerivedFromEntityId(props: {
return (
<HeadlineWithLink
{...rest}
title={`${props.entityTitlePrepend}${entityHeader?.name}`}
title={`${entityTitlePrepend}${entityHeader?.name ?? ''}`}
/>
)
}
Expand Down

0 comments on commit 81a80e5

Please sign in to comment.