1
0
Fork 0
mirror of synced 2024-10-02 18:16:29 +13:00

Updating normal query panel to also work with expanded types and not flat types.

This commit is contained in:
mike12345567 2024-01-22 17:51:49 +00:00
parent 3236616307
commit 1f3a93fe3a

View file

@ -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}