Skip to content

Commit

Permalink
fixing vega
Browse files Browse the repository at this point in the history
  • Loading branch information
ppisljar committed Nov 6, 2018
1 parent 3d88ec7 commit 9374c17
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function create(min, max, dashboardCtx) {
getTimeBounds: () => ({ min, max })
},
() => {},
() => _.cloneDeep(dashboardCtx),
_.cloneDeep(dashboardCtx),
() => (inst.$$$warnCount = (inst.$$$warnCount || 0) + 1)
);
return inst;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/public/visualize/loader/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface TimeRange {
}

export interface Filter {
meta: object;
meta: any;
query: object;
}

Expand Down
3 changes: 3 additions & 0 deletions src/ui/public/visualize/loader/visualize_data_loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export class VisualizeDataLoader {
const requestHandlerResponse = await this.requestHandler(this.vis, {
partialRows: this.vis.params.partialRows || this.vis.type.requiresPartialRows,
...params,
filters: params.filters
? params.filters.filter(filter => !filter.meta.disabled)
: undefined,
});

// No need to call the response handler when there have been no data nor has been there changes
Expand Down

0 comments on commit 9374c17

Please sign in to comment.