Prevent filtering on calculation fields
This commit is contained in:
parent
8be7f82ccb
commit
ba6def8f73
|
@ -69,10 +69,12 @@
|
|||
|
||||
const context = getContext("context")
|
||||
|
||||
$: fieldOptions = (schemaFields || []).map(field => ({
|
||||
label: field.displayName || field.name,
|
||||
value: field.name,
|
||||
}))
|
||||
$: fieldOptions = (schemaFields || [])
|
||||
.filter(field => !field.calculationType)
|
||||
.map(field => ({
|
||||
label: field.displayName || field.name,
|
||||
value: field.name,
|
||||
}))
|
||||
|
||||
const onFieldChange = filter => {
|
||||
const previousType = filter.type
|
||||
|
|
Loading…
Reference in New Issue