Hide 'Body' tab for REST API datasources when using a GET query
This commit is contained in:
parent
e84add0830
commit
510a11e080
|
@ -260,6 +260,7 @@
|
||||||
headings
|
headings
|
||||||
/>
|
/>
|
||||||
</Tab>
|
</Tab>
|
||||||
|
{#if query?.queryVerb !== "read"}
|
||||||
<Tab title="Body">
|
<Tab title="Body">
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
bind:value={query.fields.bodyType}
|
bind:value={query.fields.bodyType}
|
||||||
|
@ -270,6 +271,7 @@
|
||||||
/>
|
/>
|
||||||
<RestBodyInput bind:bodyType={query.fields.bodyType} bind:query />
|
<RestBodyInput bind:bodyType={query.fields.bodyType} bind:query />
|
||||||
</Tab>
|
</Tab>
|
||||||
|
{/if}
|
||||||
<Tab title="Transformer">
|
<Tab title="Transformer">
|
||||||
<Layout noPadding>
|
<Layout noPadding>
|
||||||
{#if !$flags.queryTransformerBanner}
|
{#if !$flags.queryTransformerBanner}
|
||||||
|
|
Loading…
Reference in New Issue