diff --git a/pgml-dashboard/src/components/notifications/marketing/feature_banner/template.html b/pgml-dashboard/src/components/notifications/marketing/feature_banner/template.html index 57a4639cf..d8c2860bd 100644 --- a/pgml-dashboard/src/components/notifications/marketing/feature_banner/template.html +++ b/pgml-dashboard/src/components/notifications/marketing/feature_banner/template.html @@ -15,7 +15,7 @@ "#, - if notification.link.is_some() { "a" } else { "div" }, + if notification.link.is_some() { format!(r#"a href="{}" data-turbo="false" "#, notification.link.clone().unwrap()) } else { "div".to_string() }, if notification.link.is_some() { "btn btn-tertiary p-0" } else { "" }, notification.message, if notification.link.is_some() { r#"arrow_forward"# } else { "" },