From 45362c0b12cfca9a80bbe71e39bc781fc492c9c4 Mon Sep 17 00:00:00 2001 From: Saurav Jain Date: Tue, 16 Sep 2025 14:27:21 +0530 Subject: [PATCH] Added disabled trash button in http in workflows (#14439) ## Summary Added a disabled Trash button in HTTP workflows to prevent accidental deletion of certain items. ## Fixes fixes #14420 ## Screenshot Screenshot from 2025-09-12 05-37-37 --- Open to review. --- .../http-request-action/components/KeyValuePairInput.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/KeyValuePairInput.tsx b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/KeyValuePairInput.tsx index 2fc1b0a363..534dc6ada9 100644 --- a/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/KeyValuePairInput.tsx +++ b/packages/twenty-front/src/modules/workflow/workflow-steps/workflow-actions/http-request-action/components/KeyValuePairInput.tsx @@ -174,7 +174,9 @@ export const KeyValuePairInput = ({ onClick={() => handleRemovePair(pair.id)} Icon={IconTrash} /> - ) : null} + ) : ( +