fixed the check for the type or label key in the options send in search component.
This commit is contained in:
1 parent
228b080730
commit
5825151b28
1 file changed
+4
-1
@@ -167,7 +167,10 @@ const Search = ({
|
|||||||
: {}
|
: {}
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{option[filteredBy] + (secondaryLabel ? ` (${option[secondaryLabel]})` : "")}
|
{option[filteredBy] +
|
||||||
|
(secondaryLabel && option[secondaryLabel]
|
||||||
|
? ` (${option[secondaryLabel]})`
|
||||||
|
: "")}
|
||||||
</ListItem>
|
</ListItem>
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in new issue
Block a user