Merge pull request #2780 from Budibase/fix-filter-editor

Fix bug with filter editor preventing some types being filtered
This commit is contained in:
Martin McKeaveney 2021-09-29 09:56:38 +01:00 committed by GitHub
commit aac0c07275
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@
/>
{:else if ["string", "longform", "number"].includes(filter.type)}
<Input disabled={filter.noValue} bind:value={filter.value} />
{:else if filter.type === "options" || "array"}
{:else if ["options", "array"].includes(filter.type)}
<Combobox
disabled={filter.noValue}
options={getFieldOptions(filter.field)}