Move proxy option to the datasource query editor

This commit is contained in:
Alexander Zobnin
2020-05-07 17:55:46 +03:00
parent 80aa2e94ad
commit f8f675f78e
2 changed files with 7 additions and 0 deletions

View File

@@ -304,6 +304,12 @@
</select>
</div>
</div>
<gf-form-switch class="gf-form"
label-class="width-8"
label="Host proxy"
checked="ctrl.target.options.hostProxy"
on-change="ctrl.onQueryOptionChange()">
</gf-form-switch>
<div class="gf-form">
<label class="gf-form-label width-8">Limit triggers</label>
<input class="gf-form-input width-5"

View File

@@ -330,6 +330,7 @@ export class ZabbixQueryController extends QueryCtrl {
sortTriggersBy: "Sort problems",
showEvents: "Show events",
limit: "Limit problems",
hostProxy: "Show proxy",
};
var options = [];
_.forOwn(this.target.options, (value, key) => {