fix mixed datasource add query button, #10316 (#10361)

This commit is contained in:
Alexander Zobnin 2017-12-31 14:21:49 +03:00 committed by Torkel Ödegaard
parent be93468b58
commit d210e766e7

View File

@ -92,7 +92,7 @@
<button class="btn btn-secondary gf-form-btn" ng-click="ctrl.addQuery()" ng-hide="ctrl.datasourceInstance.meta.mixed">
Add Query
</button>
<div class="dropdown" ng-if="ctrl.current.meta.mixed">
<div class="dropdown" ng-if="ctrl.datasourceInstance.meta.mixed">
<gf-form-dropdown model="ctrl.addQueryDropdown" get-options="ctrl.getOptions(false)" on-change="ctrl.addMixedQuery($option)">
</gf-form-dropdown>
</div>