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 72ab0c4158
commit f6cd99166a
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))