Skip to content

Commit

Permalink
Disable inspector for timelion (#53747)
Browse files Browse the repository at this point in the history
  • Loading branch information
sulemanof authored Dec 23, 2019
1 parent 04ef735 commit 08ff024
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 08ff024

Please sign in to comment.