Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Commit fe5590b

Browse files
authored
fix: Filters dropdown text fix in case of undefined (#432)
1 parent 1c0a2e3 commit fe5590b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/Stream/components/Querier/FilterQueryBuilder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const RuleView = (props: RuleViewType) => {
6969
const getUniqueColValues = useMemo(() => {
7070
if (!rule.field) return [];
7171
return Array.from(
72-
new Set(pageData.filter((item) => item[rule.field] !== null).map((item) => String(item[rule.field]))),
72+
new Set(pageData.filter((item) => item[rule.field] != null).map((item) => String(item[rule.field]))),
7373
);
7474
}, [pageData, rule.field]);
7575

0 commit comments

Comments
 (0)