mirror of
https://github.com/harness/drone.git
synced 2025-05-06 10:00:11 +08:00
feat: [AH-885]: fix issue with showing request and response body of webhook execution (#3448)
* feat: [AH-885]: fix issue with showing request and response body of webhook execution
This commit is contained in:
parent
06c48f3d3d
commit
b5e78f3300
@ -37,3 +37,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.drawerContainer {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
@ -16,4 +16,5 @@
|
|||||||
|
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// This is an auto-generated file
|
// This is an auto-generated file
|
||||||
|
export declare const drawerContainer: string
|
||||||
export declare const tabsContainer: string
|
export declare const tabsContainer: string
|
||||||
|
@ -110,7 +110,7 @@ export default function WebhookExecutionDetailsDrawer(props: WebhookExecutionDet
|
|||||||
</RbacButton>
|
</RbacButton>
|
||||||
</Layout.Horizontal>
|
</Layout.Horizontal>
|
||||||
}>
|
}>
|
||||||
<Container>
|
<Container className={css.drawerContainer}>
|
||||||
<Layout.Vertical padding="large" spacing="medium">
|
<Layout.Vertical padding="large" spacing="medium">
|
||||||
<Layout.Horizontal spacing="small" flex={{ alignItems: 'center', justifyContent: 'flex-start' }}>
|
<Layout.Horizontal spacing="small" flex={{ alignItems: 'center', justifyContent: 'flex-start' }}>
|
||||||
<Text font={{ variation: FontVariation.CARD_TITLE }}>
|
<Text font={{ variation: FontVariation.CARD_TITLE }}>
|
||||||
@ -166,7 +166,7 @@ export default function WebhookExecutionDetailsDrawer(props: WebhookExecutionDet
|
|||||||
<CommandBlock
|
<CommandBlock
|
||||||
darkmode
|
darkmode
|
||||||
ignoreWhiteSpaces={false}
|
ignoreWhiteSpaces={false}
|
||||||
commandSnippet={prettifyManifestJSON(data?.request ?? {})}
|
commandSnippet={prettifyManifestJSON(data?.request?.body ?? {})}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
@ -177,7 +177,7 @@ export default function WebhookExecutionDetailsDrawer(props: WebhookExecutionDet
|
|||||||
<CommandBlock
|
<CommandBlock
|
||||||
darkmode
|
darkmode
|
||||||
ignoreWhiteSpaces={false}
|
ignoreWhiteSpaces={false}
|
||||||
commandSnippet={prettifyManifestJSON(data?.response ?? {})}
|
commandSnippet={prettifyManifestJSON(data?.response?.body ?? {})}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user