Skip to content

Commit

Permalink
fixes angular vis type so it correctly propagates events up to visual…
Browse files Browse the repository at this point in the history
…ize (elastic#15629)
  • Loading branch information
ppisljar authored Dec 18, 2017
1 parent 4671aa5 commit 7c90b85
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ui/public/vis/vis_types/angular_vis_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export function AngularVisTypeProvider(Private, $compile, $rootScope) {

return new Promise((resolve, reject) => {
const updateScope = () => {
this.$scope.vis = this.vis.clone();
this.$scope.vis.setUiState(this.vis.getUiState());
this.$scope.vis = this.vis;
this.$scope.esResponse = esResponse;
this.$scope.renderComplete = resolve;
this.$scope.renderFailed = reject;
Expand Down

0 comments on commit 7c90b85

Please sign in to comment.