From 126aae519641b0718fca563b55185bf4e2a730f3 Mon Sep 17 00:00:00 2001 From: Liza Katz Date: Mon, 6 May 2019 16:48:29 +0300 Subject: [PATCH] Fixed subscription of input control vis --- .../core_plugins/input_control_vis/public/vis_controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/legacy/core_plugins/input_control_vis/public/vis_controller.js b/src/legacy/core_plugins/input_control_vis/public/vis_controller.js index d34438484b995..cc639cd056751 100644 --- a/src/legacy/core_plugins/input_control_vis/public/vis_controller.js +++ b/src/legacy/core_plugins/input_control_vis/public/vis_controller.js @@ -34,7 +34,9 @@ class VisController { this.updateSubsciption = this.vis.API.queryFilter.getUpdates$() .subscribe({ - next: () => this.queryBarUpdateHandler, + next: () => { + this.queryBarUpdateHandler(); + }, }); }