request header is not displayed if it is undefined
This commit is contained in:
parent
f13cc530cd
commit
b83346461f
@ -35,7 +35,7 @@ export const RequestDetails = ({ webhookDetails }) => {
|
||||
<Text as="h3" fontWeight={600} style={{ marginBottom: "4px" }}>
|
||||
Request post header
|
||||
</Text>
|
||||
{webhookDetails.requestHeaders === "" ? (
|
||||
{!webhookDetails.requestHeaders ? (
|
||||
<Textarea isDisabled />
|
||||
) : (
|
||||
<Textarea
|
||||
|
Loading…
Reference in New Issue
Block a user