Skip to content

Commit 5c1ccd4

Browse files
authored
fix: json filters regression (#1122)
Fixes HDX-1965
1 parent 52483f6 commit 5c1ccd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/common-utils/src/metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export class Metadata {
351351
.then(d => {
352352
const keys: { key: string; chType: string }[] = [];
353353
for (const [key, typeArr] of Object.entries(d.data[0].pathMap)) {
354-
if (key || !typeArr || !Array.isArray(typeArr)) {
354+
if (!key || !typeArr || !Array.isArray(typeArr)) {
355355
throw new Error(
356356
`Error fetching keys for filters (key: ${key}, typeArr: ${typeArr})`,
357357
);

0 commit comments

Comments
 (0)