Switch to ng-show so controller can maintain reference to Visualize button and remove it upon toggle

This commit is contained in:
Matthew Bargar 2016-10-17 13:21:11 -04:00
parent 76c2687e86
commit 9da6ddfd16

View file

@ -44,7 +44,7 @@
<a
ng-href="{{vizLocation(field)}}"
ng-if="field.aggregatable"
ng-show="field.aggregatable"
class="sidebar-item-button primary">
Visualize
<span class="discover-field-vis-warning" ng-show="warnings.length" tooltip="{{warnings.join(' ')}}">