Skip to content

Commit

Permalink
Disable inspector for timelion (elastic#53747)
Browse files Browse the repository at this point in the history
  • Loading branch information
sulemanof authored and jkelastic committed Jan 3, 2020
1 parent b2649b2 commit 7308de7
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,13 @@ export class VisualizeEmbeddable extends Embeddable<VisualizeInput, VisualizeOut

// this is a hack to make editor still work, will be removed once we clean up editor
this.vis.hasInspector = () => {
const visTypesWithoutInspector = ['markdown', 'input_control_vis', 'metrics', 'vega'];
const visTypesWithoutInspector = [
'markdown',
'input_control_vis',
'metrics',
'vega',
'timelion',
];
if (visTypesWithoutInspector.includes(this.vis.type.name)) {
return false;
}
Expand Down

0 comments on commit 7308de7

Please sign in to comment.