Hide formula fields from filter expressions until they can be searched

This commit is contained in:
Andrew Kingston 2021-08-12 10:03:56 +01:00
parent a149f89664
commit 3151f569a8
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
export let filters = [] export let filters = []
export let bindings = [] export let bindings = []
const BannedTypes = ["link", "attachment"] const BannedTypes = ["link", "attachment", "formula"]
$: fieldOptions = (schemaFields ?? []) $: fieldOptions = (schemaFields ?? [])
.filter(field => !BannedTypes.includes(field.type)) .filter(field => !BannedTypes.includes(field.type))