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