mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
console: fix UI for auto-cleanup event trigger on modify page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6164 GitOrigin-RevId: c1683c72f487d17e2fc46677b205cde862fe9663
This commit is contained in:
parent
6515ae8dbe
commit
1635ddd607
@ -366,6 +366,18 @@ const Modify: React.FC<Props> = props => {
|
||||
currentTrigger={currentTrigger}
|
||||
save={saveWrapper('retry_conf')}
|
||||
/>
|
||||
<hr className="my-md" />
|
||||
{isProConsole(window.__env) && (
|
||||
<div className="mb-md">
|
||||
<AutoCleanupForm
|
||||
onChange={setState.cleanupConfig}
|
||||
cleanupConfig={
|
||||
state?.cleanupConfig || defaultState.cleanupConfig
|
||||
}
|
||||
/>
|
||||
<hr className="my-md" />
|
||||
</div>
|
||||
)}
|
||||
<HeadersEditor
|
||||
headers={state.headers}
|
||||
setHeaders={setState.headers}
|
||||
@ -388,16 +400,6 @@ const Modify: React.FC<Props> = props => {
|
||||
requestUrlTransformOnChange={requestUrlTransformOnChange}
|
||||
requestPayloadTransformOnChange={requestPayloadTransformOnChange}
|
||||
/>
|
||||
{isProConsole(window.__env) && (
|
||||
<div className="mb-md">
|
||||
<AutoCleanupForm
|
||||
onChange={setState.cleanupConfig}
|
||||
cleanupConfig={
|
||||
state?.cleanupConfig || defaultState.cleanupConfig
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
{!readOnlyMode && (
|
||||
<div className="mb-md">
|
||||
<span className="mr-md">
|
||||
|
Loading…
Reference in New Issue
Block a user