fix function editor in Grafana 6, #765

This commit is contained in:
Alexander Zobnin
2019-07-05 17:42:46 +03:00
parent 6b5b5f818b
commit 4346e13365
10 changed files with 667 additions and 251 deletions

View File

@@ -204,7 +204,9 @@
<div class="gf-form-inline" ng-show="ctrl.target.mode == editorMode.METRICS || ctrl.target.mode == editorMode.ITEMID">
<div class="gf-form">
<label class="gf-form-label query-keyword width-7">Functions</label>
<div ng-repeat="func in ctrl.target.functions" class="gf-form-label query-part" metric-function-editor></div>
</div>
<div ng-repeat="func in ctrl.target.functions" class="gf-form">
<span zabbix-function-editor class="gf-form-label query-part" ng-hide="func.hidden"></span>
</div>
<div class="gf-form dropdown" add-metric-function>
</div>