[ML] Fixing job cloning when it has an unknown created_by value (#29175) (#29216)

This commit is contained in:
James Gowdy 2019-01-24 09:10:13 +00:00 committed by GitHub
parent 09d2454841
commit 6ecd02ea52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -88,6 +88,8 @@ function getWizardUrlFromCloningJob(job) {
page = 'multi_metric';
} else if (created === WIZARD_TYPE.POPULATION) {
page = 'population';
} else {
return null;
}
const indexPatternId = getIndexPatternIdFromName(job.datafeed_config.indices[0]);