diff --git a/frontend/src/components/AlterBanner.tsx b/frontend/src/components/AlterBanner.tsx index 25d337d7..6ff574a6 100644 --- a/frontend/src/components/AlterBanner.tsx +++ b/frontend/src/components/AlterBanner.tsx @@ -86,9 +86,9 @@ const AlertBanner: React.FC = (props) => {

{showExpandButtonMobile ? "New Alert(s)" : props.alert.message} 
- { !expanded && event.preventDefault(); reportAlertButtonClick(); }}> + {(!expanded || props.alert.linkTo) ? { !expanded && event.preventDefault(); reportAlertButtonClick(); }}> {expanded ? props.alert.linkText || "View" : "Expand"} - + : null }