2
0

🐛 (webhook) Test response was not updating

This commit is contained in:
Baptiste Arnaud
2023-02-24 08:26:50 +01:00
parent 761e1c7184
commit 67e1fd2e14

View File

@@ -262,7 +262,7 @@ export const WebhookSettings = ({
</Button> </Button>
)} )}
{testResponse && ( {testResponse && (
<CodeEditor isReadOnly lang="json" defaultValue={testResponse} /> <CodeEditor isReadOnly lang="json" value={testResponse} />
)} )}
{(testResponse || options?.responseVariableMapping.length > 0) && ( {(testResponse || options?.responseVariableMapping.length > 0) && (
<Accordion allowMultiple> <Accordion allowMultiple>