From b96a3a6a8e38a919a7365faaa3430afd22a5ae97 Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Mon, 3 Apr 2023 15:08:54 +0200 Subject: [PATCH] :children_crossing: (webhook) Always show save response accordion --- .../components/WebhookAdvancedConfigForm.tsx | 34 +++++++++---------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/apps/builder/src/features/blocks/integrations/webhook/components/WebhookAdvancedConfigForm.tsx b/apps/builder/src/features/blocks/integrations/webhook/components/WebhookAdvancedConfigForm.tsx index 6b01e9636..265659d4c 100644 --- a/apps/builder/src/features/blocks/integrations/webhook/components/WebhookAdvancedConfigForm.tsx +++ b/apps/builder/src/features/blocks/integrations/webhook/components/WebhookAdvancedConfigForm.tsx @@ -202,24 +202,22 @@ export const WebhookAdvancedConfigForm = ({ {testResponse && ( )} - {(testResponse || options?.responseVariableMapping.length > 0) && ( - - - - Save in variables - - - - - initialItems={options.responseVariableMapping} - onItemsChange={handleResponseMappingChange} - Item={ResponseMappingInputs} - addLabel="Add an entry" - /> - - - - )} + + + + Save in variables + + + + + initialItems={options.responseVariableMapping} + onItemsChange={handleResponseMappingChange} + Item={ResponseMappingInputs} + addLabel="Add an entry" + /> + + + ) }