fixes legend refreshing (#14150)

This commit is contained in:
Peter Pisljar 2017-09-26 10:48:54 +02:00 committed by ppisljar
parent d869ceadde
commit 56cd3978c2
2 changed files with 1 additions and 1 deletions

View file

@ -34,7 +34,6 @@ export function VislibVisTypeProvider(Private) {
this.vis.vislibVis.on('click', this.vis.API.events.filter);
this.vis.vislibVis.on('renderComplete', resolve);
this.vis.vislibVis.render(esResponse, this.vis.getUiState());
this.vis.refreshLegend++;
});
}

View file

@ -127,6 +127,7 @@ uiModules
return;
}
$scope.addLegend = $scope.vis.params.addLegend;
$scope.vis.refreshLegend++;
$timeout(renderFunction);
});