We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e565225 commit 3d9f6f5Copy full SHA for 3d9f6f5
site/src/pages/TemplateSettingsPage/TemplateSchedulePage/TemplateScheduleForm.tsx
@@ -85,7 +85,7 @@ export const getValidationSchema = (): Yup.AnyObjectSchema =>
85
"Inactivity cleanup days must be greater than zero when enabled.",
86
function (value) {
87
const parent = this.parent as TemplateScheduleFormValues
88
- if (parent.failure_cleanup_enabled) {
+ if (parent.inactivity_cleanup_enabled) {
89
return Boolean(value)
90
} else {
91
return true
0 commit comments