1
0
Fork 0
mirror of synced 2024-07-03 13:30:46 +12:00

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

View file

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