From 315abfeaddbe31a6eb9d211b4ef70465776ed083 Mon Sep 17 00:00:00 2001 From: Cee Chen Date: Wed, 10 Apr 2024 13:32:04 -0700 Subject: [PATCH] Fix ternary shenanigans :facepalm: i'm a senior developer errybody --- src/components/page_template/page_template.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/page_template/page_template.tsx b/src/components/page_template/page_template.tsx index 75c532bbb0c..1c8819da37f 100644 --- a/src/components/page_template/page_template.tsx +++ b/src/components/page_template/page_template.tsx @@ -144,7 +144,8 @@ export const _EuiPageTemplate: FunctionComponent = ({ const innerPanelled = panelled ?? Boolean(sidebar.length > 0); const innerBordered = contentBorder ?? Boolean(sidebar.length > 0); - const headerBottomBorder = bottomBorder ?? sidebar.length ? true : 'extended'; + const headerBottomBorder = + bottomBorder ?? (sidebar.length ? true : 'extended'); const templateContext = useMemo(() => { return {