Skip to content

The open alternative to Salesforce, designed for AI.

Added disabled trash button in http in workflows (#14439)

Saurav Jain45362c0b12cf
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 2fc1b0a363f..534dc6ada91 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}
+ ) : (
+ <Button Icon={IconTrash} disabled={true} />
+ )}
</StyledKeyValueContainer>
))}
</StyledContainer>