From f6bb6d6db9612798b723a81df7fa91509d08d074 Mon Sep 17 00:00:00 2001 From: Shekar Siri Date: Mon, 7 Mar 2022 20:35:10 +0100 Subject: [PATCH] fix(ui) - check for page title --- .../Assist/components/SessionList/SessionList.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/app/components/Assist/components/SessionList/SessionList.tsx b/frontend/app/components/Assist/components/SessionList/SessionList.tsx index 956226385..73c7a3a7f 100644 --- a/frontend/app/components/Assist/components/SessionList/SessionList.tsx +++ b/frontend/app/components/Assist/components/SessionList/SessionList.tsx @@ -24,10 +24,12 @@ function SessionList(props: Props) {
{ props.list.map(session => (
-
- - {session.pageTitle} -
+ {session.pageTitle && session.pageTitle !== '' && ( +
+ + {session.pageTitle} +
+ )}
)) }