diff --git a/src/components/resultHeader/ResultHeader.jsx b/src/components/resultHeader/ResultHeader.jsx index b731392..085527d 100644 --- a/src/components/resultHeader/ResultHeader.jsx +++ b/src/components/resultHeader/ResultHeader.jsx @@ -22,7 +22,14 @@ const ResultHeader = () => { return ( <>
+ {totalCount > 0 + ? ` ${t('resultHeader.upcoming')} ${totalCount} ${t('events')} "${dateText}` + : `${t('resultHeader.noEvents')}`} +
+ )} + {isSearchEmpty && !isDateRangePresent && ({totalCount > 0 ? `${t('resultHeader.upcoming')} ${totalCount} ${t('events')}` @@ -30,7 +37,7 @@ const ResultHeader = () => {
)} - {!isSearchEmpty && ( + {!isSearchEmpty && !isDateRangePresent && ({totalCount > 0 ? ` ${totalCount} ${t( diff --git a/src/components/search/Search.jsx b/src/components/search/Search.jsx index 8429a65..8bd8c49 100644 --- a/src/components/search/Search.jsx +++ b/src/components/search/Search.jsx @@ -5,7 +5,7 @@ import WidgetContext from '../../context/WidgetContext'; import './search.css'; import { ReactComponent as SearchIcon } from '../../assets/Search.svg'; import { ReactComponent as ClearIcon } from '../../assets/close-Circle.svg'; -import { ReactComponent as FilterIcon } from '../../assets/Custom.svg'; +// import { ReactComponent as FilterIcon } from '../../assets/Custom.svg'; import { sessionStorageVariableNames } from '../../constants/sessionStorageVariableNames'; const Search = () => { @@ -32,12 +32,12 @@ const Search = () => { sessionStorage.setItem(sessionStorageVariableNames.WidgetSearchKeyWord, e.target.value); }} /> -