From e06ad72a260e080a878494c66626d24d7b7ebc0b Mon Sep 17 00:00:00 2001 From: sulemanof Date: Sat, 21 Dec 2019 17:38:55 +0300 Subject: [PATCH] Disable inspector for timelion --- .../public/visualize_embeddable/visualize_embeddable.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/legacy/core_plugins/kibana/public/visualize_embeddable/visualize_embeddable.ts b/src/legacy/core_plugins/kibana/public/visualize_embeddable/visualize_embeddable.ts index 4d45b0d86023e..fc91742c53cca 100644 --- a/src/legacy/core_plugins/kibana/public/visualize_embeddable/visualize_embeddable.ts +++ b/src/legacy/core_plugins/kibana/public/visualize_embeddable/visualize_embeddable.ts @@ -277,7 +277,13 @@ export class VisualizeEmbeddable extends Embeddable { - 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; }