From a8d2357bcd3bf71cacf2076029caaacecc55c4b1 Mon Sep 17 00:00:00 2001 From: Dan <39170265+chillenberger@users.noreply.github.com> Date: Thu, 7 Dec 2023 16:47:02 -0700 Subject: [PATCH] add the link --- .../notifications/marketing/feature_banner/template.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { "" },