Don't render visualizations in the background

This commit is contained in:
Arik Fraimovich 2016-05-08 10:34:30 +03:00
parent 0b806e2e7d
commit e602b8cf2b

View File

@ -282,7 +282,7 @@
<a ng-click="openVisualizationEditor()">"New Visualization" screen</a> and <strong>save</strong>.
</h3>
</div>
<div ng-show="selectedTab == vis.id" ng-repeat="vis in query.visualizations">
<div ng-if="selectedTab == vis.id" ng-repeat="vis in query.visualizations">
<visualization-renderer visualization="vis" query-result="queryResult"></visualization-renderer>
<div class="bg-ace p-5">
<button class="btn btn-default" ng-click="openVisualizationEditor(vis)" ng-if="canEdit">Edit</button>