Fix for Save on the Jobs settings page not responding (#14103)

Co-authored-by: Michael Abashian <mabashia@redhat.com>
This commit is contained in:
Benjamin Dudas 2023-06-21 15:14:31 -04:00 committed by GitHub
parent 897a19e127
commit fa8968b95b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,8 +155,10 @@ function JobsEdit() {
/>
<InputField
name="AWX_RUNNER_KEEPALIVE_SECONDS"
config={jobs.AWX_RUNNER_KEEPALIVE_SECONDS}
type="number"
config={jobs.AWX_RUNNER_KEEPALIVE_SECONDS ?? null}
type={
options?.AWX_RUNNER_KEEPALIVE_SECONDS ? 'number' : undefined
}
/>
<InputField
name="DEFAULT_JOB_TIMEOUT"