Handle undefined case (#98728)
This commit is contained in:
parent
5793719b13
commit
f5581240bb
|
@ -40,7 +40,7 @@ export const isJobConfigurationOutdated = <JobType extends string>(
|
|||
}
|
||||
|
||||
const jobConfiguration = jobSummary.fullJob.custom_settings.logs_source_config;
|
||||
const datafeedRuntimeMappings = jobSummary.fullJob.datafeed_config.runtime_mappings;
|
||||
const datafeedRuntimeMappings = jobSummary.fullJob.datafeed_config.runtime_mappings ?? {};
|
||||
|
||||
return !(
|
||||
jobConfiguration &&
|
||||
|
|
Loading…
Reference in a new issue