Skip to content

Commit

Permalink
fix: result header
Browse files Browse the repository at this point in the history
  • Loading branch information
syam babu committed Jan 31, 2024
1 parent 2c9736b commit 3c8b9bb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/resultHeader/ResultHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ const ResultHeader = () => {
: `${t('resultHeader.noEvents')}`}
</p>
)}

{!isSearchEmpty && !isDateRangePresent && (
<p>
{totalCount > 0
? ` ${totalCount} ${t('resultHeader.eventsContaining')} "${searchKeyWord}"`
: `${t('resultHeader.noEvents')}`}
</p>
)}
</div>
</>
);
Expand Down

0 comments on commit 3c8b9bb

Please sign in to comment.