Skip to content

Commit

Permalink
[visualize/editor] expose the savedVis object to the editor options
Browse files Browse the repository at this point in the history
  • Loading branch information
spalger committed Feb 25, 2016
1 parent 4193985 commit 91797a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/kibana/public/visualize/editor/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,9 @@

<div class="vis-editor-config" ng-show="sidebar.section == 'options'">
<!-- vis options -->
<vis-editor-vis-options vis="vis"></vis-editor-vis-options>
<vis-editor-vis-options vis="vis" saved-vis="savedVis"></vis-editor-vis-options>
</div>


</form>
</div>

1 change: 1 addition & 0 deletions src/plugins/kibana/public/visualize/editor/vis_options.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ uiModules
template: visOptionsTemplate,
scope: {
vis: '=',
savedVis: '=',
},
link: function ($scope, $el) {
const $optionContainer = $el.find('.visualization-options');
Expand Down

0 comments on commit 91797a8

Please sign in to comment.