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 <img width="498" height="852" alt="Screenshot from 2025-09-12 05-37-37" src="https://github.com/user-attachments/assets/dda8eded-a42b-4a86-bd6b-3d415e39fe3c" /> --- Open to review.
This commit is contained in:
+3
-1
@@ -174,7 +174,9 @@ export const KeyValuePairInput = ({
|
||||
onClick={() => handleRemovePair(pair.id)}
|
||||
Icon={IconTrash}
|
||||
/>
|
||||
) : null}
|
||||
) : (
|
||||
<Button Icon={IconTrash} disabled={true} />
|
||||
)}
|
||||
</StyledKeyValueContainer>
|
||||
))}
|
||||
</StyledContainer>
|
||||
|
||||
Reference in New Issue
Block a user