From bd733398b8a5f724b868283316fd6fcb95dbe31a Mon Sep 17 00:00:00 2001 From: Kenneth Fitzgerald <68879394+fitzgeraldkd@users.noreply.github.com> Date: Sat, 22 Feb 2025 06:13:36 -0500 Subject: [PATCH] Fix href check for action buttons (#1246) * Fix href check for action buttons Co-authored-by: Zef Hemel Co-authored-by: KitAmbraid <128903658+KitAmbraid@users.noreply.github.com> --- web/components/top_bar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/top_bar.tsx b/web/components/top_bar.tsx index 1040941b..d85a8c72 100644 --- a/web/components/top_bar.tsx +++ b/web/components/top_bar.tsx @@ -132,7 +132,7 @@ export function TopBar({ ); - return actionButton.href !== undefined + return actionButton.href ? ( {button}