Skip to content

Commit

Permalink
Disable inspector for timelion
Browse files Browse the repository at this point in the history
  • Loading branch information
sulemanof committed Dec 21, 2019
1 parent b921987 commit e06ad72
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 e06ad72

Please sign in to comment.