parameter field tidy ups
This commit is contained in:
parent
1e9736e396
commit
f1dac763b9
|
@ -140,13 +140,11 @@
|
|||
<option value={queryVerb}>{queryVerb}</option>
|
||||
{/each}
|
||||
</Select>
|
||||
{#if query.queryVerb}
|
||||
<Select thin secondary bind:value={query.queryType}>
|
||||
{#each Object.keys(config[query.queryVerb]) as queryType}
|
||||
{#each Object.keys(config[query.queryVerb]) as queryType (queryType)}
|
||||
<option value={queryType}>{queryType}</option>
|
||||
{/each}
|
||||
</Select>
|
||||
{/if}
|
||||
<EditQueryParamsPopover bind:parameters={query.parameters} bindable={false} />
|
||||
<Spacer medium />
|
||||
<Button primary href={docsLink} target="_blank">
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
{#if editable}
|
||||
<ParameterBuilder bind:parameters={query.parameters} bindable={false} />
|
||||
<Spacer large />
|
||||
{/if}
|
||||
|
||||
<Heading extraSmall black>Query</Heading>
|
||||
<Spacer medium />
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
</div>
|
||||
{#if value.type === 'query'}
|
||||
<i class="ri-settings-5-line" on:click={drawer.show} />
|
||||
<Drawer title={'Query'}>
|
||||
<Drawer title={'Query'} bind:this={drawer}>
|
||||
<div slot="buttons">
|
||||
<Button
|
||||
blue
|
||||
|
|
Loading…
Reference in New Issue