🚸 (webhook) Show save in variables accordion only when needed
This commit is contained in:
@@ -208,6 +208,7 @@ export const WebhookAdvancedConfigForm = ({
|
|||||||
{testResponse && (
|
{testResponse && (
|
||||||
<CodeEditor isReadOnly lang="json" value={testResponse} />
|
<CodeEditor isReadOnly lang="json" value={testResponse} />
|
||||||
)}
|
)}
|
||||||
|
{(testResponse || options.responseVariableMapping.length > 0) && (
|
||||||
<Accordion allowMultiple>
|
<Accordion allowMultiple>
|
||||||
<AccordionItem>
|
<AccordionItem>
|
||||||
<AccordionButton justifyContent="space-between">
|
<AccordionButton justifyContent="space-between">
|
||||||
@@ -224,6 +225,7 @@ export const WebhookAdvancedConfigForm = ({
|
|||||||
</AccordionPanel>
|
</AccordionPanel>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user