diff --git a/frontend/src/components/common/Resource/MainInfoSection/MainInfoSection.tsx b/frontend/src/components/common/Resource/MainInfoSection/MainInfoSection.tsx index 6649d35bc7d..3817f44a0fd 100644 --- a/frontend/src/components/common/Resource/MainInfoSection/MainInfoSection.tsx +++ b/frontend/src/components/common/Resource/MainInfoSection/MainInfoSection.tsx @@ -49,6 +49,10 @@ export function MainInfoSection(props: MainInfoSectionProps) { const header = typeof headerSection === 'function' ? headerSection(resource) : headerSection; function getBackLink() { + if (backLink === null) { + return false; + } + if (!!backLink || backLink === '') { return backLink; }