File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
x-pack/legacy/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -236,11 +236,10 @@ function processCustomSettings(jobData, datafeedData) {
236236 if ( jobData . custom_settings !== undefined ) {
237237 customSettings = { ...jobData . custom_settings } ;
238238
239- if ( jobData . custom_settings . created_by !== undefined ) {
240- if ( jobData . detectors !== undefined || Object . keys ( datafeedData ) . length ||
241- ( jobData . custom_settings . custom_urls !== undefined && jobData . custom_settings . custom_urls . length ) ) {
242- processCreatedBy ( customSettings ) ;
243- }
239+ if ( jobData . custom_settings . created_by !== undefined &&
240+ ( jobData . detectors !== undefined || Object . keys ( datafeedData ) . length )
241+ ) {
242+ processCreatedBy ( customSettings ) ;
244243 }
245244 }
246245
You can’t perform that action at this time.
0 commit comments