mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ML] Anomaly explorer query bar - ensure anomalies table results retained after refresh (#37041)
* Don't specify influencers if overall cell selected * use swimlane type overall constant
This commit is contained in:
parent
fcf0466a0e
commit
c4277fd1da
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ import { mlResultsService } from 'plugins/ml/services/results_service';
|
|||
import {
|
||||
MAX_CATEGORY_EXAMPLES,
|
||||
MAX_INFLUENCER_FIELD_VALUES,
|
||||
SWIMLANE_TYPE,
|
||||
VIEW_BY_JOB_LABEL,
|
||||
} from './explorer_constants';
|
||||
import {
|
||||
|
@ -191,6 +192,7 @@ export function getSelectionTimeRange(selectedCells, interval, bounds) {
|
|||
export function getSelectionInfluencers(selectedCells, fieldName) {
|
||||
if (
|
||||
selectedCells !== null &&
|
||||
selectedCells.type !== SWIMLANE_TYPE.OVERALL &&
|
||||
selectedCells.viewByFieldName !== undefined &&
|
||||
selectedCells.viewByFieldName !== VIEW_BY_JOB_LABEL
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue