Skip to content

Commit

Permalink
fix: allow menu selector to filter to non-truthy values like column=0
Browse files Browse the repository at this point in the history
  • Loading branch information
frtennis1 authored and jheer committed Feb 16, 2024
1 parent 5c43bb7 commit 2e4693e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inputs/src/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class Menu extends MosaicClient {
source: this,
schema: { type: 'point' },
value,
predicate: value ? eq(column, literal(value)) : null
predicate: (value !== '' && value !== undefined) ? eq(column, literal(value)) : null
});
} else if (isParam(selection)) {
selection.update(value);
Expand Down

0 comments on commit 2e4693e

Please sign in to comment.