Skip to content

Commit

Permalink
[TSVB] Old request might override newer request_handler - fix CI issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed Apr 4, 2019
1 parent 8a53c94 commit 30bc391
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/legacy/ui/public/visualize/loader/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ export interface VisualizeLoaderParams {
* cycle happens. Default value: `true`
*/
autoFetch?: boolean;
/**
* Specifies the visualization instance id.
*/
visInstanceId?: string;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class VisualizeDataLoader {
const visParams = await getVisParams(this.vis, {
searchSource: params.searchSource,
timeRange: params.timeRange,
});
} as RequestHandlerParams);

const filters = params.filters || [];
const savedFilters = params.searchSource.getField('filter') || [];
Expand Down
2 changes: 1 addition & 1 deletion src/legacy/ui/public/visualize/loader/visualize_loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
* are up to date.
*/

import chrome from '../../chrome';
import uuid from 'uuid';
import chrome from '../../chrome';
import { FilterBarQueryFilterProvider } from '../../filter_bar/query_filter';
import { IPrivate } from '../../private';
import { EmbeddedVisualizeHandler } from './embedded_visualize_handler';
Expand Down

0 comments on commit 30bc391

Please sign in to comment.