Merge pull request #4953 from mslourens/define_filter_for_rest

don't sent searchableSchema to getSchemaForDatasource
This commit is contained in:
Martin McKeaveney 2022-03-21 08:04:20 +00:00 committed by GitHub
commit 8fcd149d43
1 changed files with 1 additions and 3 deletions

View File

@ -18,9 +18,7 @@
let tempValue = value || [] let tempValue = value || []
$: dataSource = getDatasourceForProvider($currentAsset, componentInstance) $: dataSource = getDatasourceForProvider($currentAsset, componentInstance)
$: schema = getSchemaForDatasource($currentAsset, dataSource, { $: schema = getSchemaForDatasource($currentAsset, dataSource)?.schema
searchableSchema: true,
})?.schema
$: schemaFields = Object.values(schema || {}) $: schemaFields = Object.values(schema || {})
const saveFilter = async () => { const saveFilter = async () => {