mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
This commit is contained in:
parent
bb9471cd7d
commit
048c96aa41
2 changed files with 5 additions and 0 deletions
|
@ -195,6 +195,9 @@ function populateCommonSettings(jobSettings, scope) {
|
|||
if (Array.isArray(jobSettings.influencers)) {
|
||||
scope.formConfig.influencerFields = jobSettings.influencers.map((i) => scope.ui.fields.find(f => f.id === i));
|
||||
}
|
||||
|
||||
scope.formConfig.useDedicatedIndex = (jobSettings.resultsIndexName !== 'shared');
|
||||
scope.ui.showAdvanced = scope.formConfig.useDedicatedIndex;
|
||||
}
|
||||
|
||||
function runEstimateBucketSpan(scope) {
|
||||
|
|
|
@ -130,5 +130,7 @@ export function jobSettingsFromJob(job, aggTypeOptions) {
|
|||
jobSettings.influencers = job.analysis_config.influencers;
|
||||
}
|
||||
|
||||
jobSettings.resultsIndexName = job.results_index_name;
|
||||
|
||||
return jobSettings;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue