fix(ui) - filtermodal empty values

This commit is contained in:
Shekar Siri 2022-03-09 19:52:08 +01:00
parent 06d4733b35
commit aeab1bd96c

View file

@ -41,7 +41,7 @@ function FilterModal(props: Props) {
{ filterSearchList && Object.keys(filterSearchList).map((key, index) => {
const filter = filterSearchList[key];
const option = filtersMap[key];
return (
return option ? (
<div
key={index}
className={cn('mb-3')}
@ -60,7 +60,7 @@ function FilterModal(props: Props) {
))}
</div>
</div>
);
) : <></>;
})}
</div>
</Loader>