Skip to content

Commit

Permalink
Hide filter/query bar for unsupported vis types (#17735)
Browse files Browse the repository at this point in the history
  • Loading branch information
timroes authored Apr 17, 2018
1 parent a87e862 commit 9e34253
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/core_plugins/timelion/public/vis/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ export default function TimelionVisProvider(Private) {
requestHandler: timelionRequestHandler.handler,
responseHandler: 'none',
options: {
showIndexSelection: false
showIndexSelection: false,
showQueryBar: false,
showFilterBar: false,
}
});
}
6 changes: 5 additions & 1 deletion src/core_plugins/vega/public/vega_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ VisTypesRegistryProvider.register((Private) => {
requiresUpdateStatus: [Status.DATA, Status.RESIZE],
requestHandler: vegaRequestHandler,
responseHandler: 'none',
options: { showIndexSelection: false },
options: {
showIndexSelection: false,
showQueryBar: false,
showFilterBar: false,
},
stage: 'lab',
feedbackMessage: defaultFeedbackMessage,
});
Expand Down

0 comments on commit 9e34253

Please sign in to comment.