From 3c8b9bb8017cc59fae1fbe4822973c2c89f76817 Mon Sep 17 00:00:00 2001 From: syam babu Date: Wed, 31 Jan 2024 22:56:56 +0530 Subject: [PATCH] fix: result header --- src/components/resultHeader/ResultHeader.jsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/resultHeader/ResultHeader.jsx b/src/components/resultHeader/ResultHeader.jsx index b3b12a1..0d8b262 100644 --- a/src/components/resultHeader/ResultHeader.jsx +++ b/src/components/resultHeader/ResultHeader.jsx @@ -46,6 +46,14 @@ const ResultHeader = () => { : `${t('resultHeader.noEvents')}`}

)} + + {!isSearchEmpty && !isDateRangePresent && ( +

+ {totalCount > 0 + ? ` ${totalCount} ${t('resultHeader.eventsContaining')} "${searchKeyWord}"` + : `${t('resultHeader.noEvents')}`} +

+ )} );