fix(ui) - filtermodal empty values
This commit is contained in:
parent
06d4733b35
commit
aeab1bd96c
1 changed files with 2 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue