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