Updating normal query panel to also work with expanded types and not flat types.
This commit is contained in:
parent
3236616307
commit
1f3a93fe3a
|
@ -1,6 +1,6 @@
|
|||
<script>
|
||||
import KeyValueBuilder from "../KeyValueBuilder.svelte"
|
||||
import { SchemaTypeOptions } from "constants/backend"
|
||||
import { SchemaTypeOptionsExpanded } from "constants/backend"
|
||||
|
||||
export let schema
|
||||
export let onSchemaChange = () => {}
|
||||
|
@ -24,6 +24,7 @@
|
|||
object={schema}
|
||||
name="field"
|
||||
headings
|
||||
options={SchemaTypeOptions}
|
||||
options={SchemaTypeOptionsExpanded}
|
||||
compare={(option, value) => option.type === value.type}
|
||||
/>
|
||||
{/key}
|
||||
|
|
Loading…
Reference in New Issue