Skip to content

Commit

Permalink
Disable inspector for timelion (#53747) (#53767)
Browse files Browse the repository at this point in the history
  • Loading branch information
sulemanof authored Dec 26, 2019
1 parent dbf1c3c commit 0d0b3af
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 0d0b3af

Please sign in to comment.