File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
x-pack/legacy/plugins/ml/public
jobs/jobs_list/components/job_details Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,8 @@ export function extractJobDetails(job) {
152152 defaultMessage : 'Timing stats'
153153 } ) ,
154154 position : 'right' ,
155- items : filterObjects ( job . datafeed_config . timing_stats ) . map ( formatValues )
155+ items : ( job . datafeed_config && job . datafeed_config . timing_stats ) ?
156+ filterObjects ( job . datafeed_config . timing_stats ) . map ( formatValues ) : [ ]
156157 } ;
157158
158159 return {
Original file line number Diff line number Diff line change @@ -351,6 +351,7 @@ class JobService {
351351 delete tempJob . datafeed_config . job_id ;
352352 delete tempJob . datafeed_config . state ;
353353 delete tempJob . datafeed_config . node ;
354+ delete tempJob . datafeed_config . timing_stats ;
354355
355356 // remove query_delay if it's between 60s and 120s
356357 // the back-end produces a random value between 60 and 120 and so
You can’t perform that action at this time.
0 commit comments