We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 920945a commit 6651e23Copy full SHA for 6651e23
web/libs/datamanager/src/components/Filters/FilterDropdown.jsx
@@ -19,9 +19,11 @@ export const FilterDropdown = observer(
19
}) => {
20
const parseItems = useCallback(
21
(item) => {
22
- const OptionVisuals = optionRender ?? (() => {
23
- return <>{item?.label ?? item?.title ?? item?.value ?? item}</>
24
- });
+ const OptionVisuals =
+ optionRender ??
+ (() => {
25
+ return <>{item?.label ?? item?.title ?? item?.value ?? item}</>;
26
+ });
27
const option =
28
typeof item === "string" || typeof item === "number"
29
? { label: <OptionVisuals item={item} />, value: item, original: item }
0 commit comments