Skip to content

Commit e9c0a16

Browse files
[ML] Disabling calendar all job switch (elastic#65635) (elastic#65747)
* [ML] Disabling calendar all job switch * updating snapshot Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent aec8f55 commit e9c0a16

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/__snapshots__/calendar_form.test.js.snap

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/plugins/ml/public/application/settings/calendars/edit/calendar_form/calendar_form.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export const CalendarForm = ({
146146
}
147147
checked={isGlobalCalendar}
148148
onChange={onGlobalCalendarChange}
149+
disabled={saving === true || canCreateCalendar === false}
149150
/>
150151

151152
{isGlobalCalendar === false && (

0 commit comments

Comments
 (0)