Skip to content

Commit a73ef7d

Browse files
iobuhovleonardomendix
authored andcommitted
fix: prevent type miscast
1 parent f8a90f1 commit a73ef7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/widget-plugin-filtering/src/stores/input/StringInputFilterStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class StringInputFilterStore
6060
return;
6161
}
6262
const [fn, s1, s2] = inputData;
63-
this.setState([fn, s1 ? s1 : undefined, s2 ? s2 : undefined]);
63+
this.setState([fn, s1 ?? undefined, s2 ?? undefined]);
6464
this.isInitialized = true;
6565
}
6666

0 commit comments

Comments
 (0)